Commit 61bb07cf by BellCodeEditor

save project

parent 330785c1
Showing with 11 additions and 15 deletions
import turtle
turtle.pensize(10)
turtle.color("black","blue")
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()
turtle.seth(90)
turtle.forward(90)
turtle.seth(60)
turtle.forward(180)
turtle.home()
turtle.seth(-90)
turtle.forward(90)
turtle.seth(-60)
turtle.forward(180)
# 假期到了,诺依想出去玩,但不知道有没有飞机直达那里,
# 悟空做了个小程序帮助诺依,然而代码出现了3处错误。
# 请你找出来,并运行~
city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山']
raisee=input('你想去哪里啊?')
if raisee in city:
print('可以乘坐飞机通往'+raisee)
else:
print('没有'+raisee+'这座城市')
# 查询并打印出输入的名字对应的所有科目的成绩
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment