这是代码。这确实是对的,我尝试了最简单的方法,只是想看看是否出现了一个对话框,但仍然没有出现
from turtle import Turtle, Screen
tim = Turtle()
screen = Screen()
screen.setup(width=500, height=400)
tur_name = screen.textinput(title="Who will win?", prompt="Enter the turtle color:")
screen.exitonclick()
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐