请问想要输入“结束”之后,就可以退出turtle画布,应该用什么代码
import turtle as t while 1: txt = t.textinput('提示','结束,退出') if txt=='结束': break t.bye()