Commit 5c3da3fb by BellCodeEditor

save project

parent 9cf856b3
Showing with 46 additions and 1 deletions
...@@ -16,11 +16,27 @@ pen.left(180) ...@@ -16,11 +16,27 @@ pen.left(180)
pen.forward(200) pen.forward(200)
pen.left(45) pen.left(45)
pen.forward(200) pen.forward(200)
pen.left(180)
pen.forward(400)
pen.left(180)
pen.forward(200)
pen.left(90)
pen.forward(200)
pen.left(180)
pen.forward(400)
pen.left(180)
pen.forward(200)
# pen.fillcolor("black")
# pen.begin_fill()
pen.right(45)
pen.forward(200)
pen.left(60)
pen.circle(100,90)
#pen.end_fill()
......
text1={1:'一',2:'二',3:'三'}
text2={4:'四',5:'五',6:'六'}
text3={7:'七',8:'八',9:'九'}
dict_1={'a':text1,'b':text2,'c':text3}
name=input("名字:")
x=dict_1[name]
for k in x.keys():
print(k,end=' ')
print()
for k in x.values():
print(k,end=' ')
print()
for k,v in x.items():
print(k,v,end=' ')
print()
\ No newline at end of file
for i in range(1,8):
print('克洛诺斯将第'+str(i)+'个孩子吞进肚子里')
if i == 5:
break
print('第六个孩子宙斯逃过一劫')
\ No newline at end of file
city=['纽约','华盛顿','桃园岛','洛杉矶','芝加哥','旧金山']
raisef=input('你想去哪里啊?')
if raisef in city:
print('可以承飞机通往'+raisef)
else:
print('没有'+raisef+'这座城市')
\ No newline at end of file
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