【发布时间】:2017-11-22 04:34:28
【问题描述】:
import sys
import turtle
t=turtle.Pen
def what_to_draw():
print ("What to do you want to see a sketch of that may or may not be colored?")
what_to_draw=sys.stdin.readline()
if what_to_draw=="flower/n":
t.forward(90)
elif():
print ("What you typed isn't in the code. Try putting a letter or letters to lowercase or uppercase. If that doesn't work, what you typed has not been set to make something happen")
我在上面输入了这段代码。它在python shell中说“花”没有定义。谁能帮我解决这个问题?
【问题讨论】:
标签: python python-3.x turtle-graphics