Commit 08791569 by BellCodeEditor

save project

parent c083b270
Showing with 14 additions and 10 deletions
import turtle
print("hello,world!")
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
color=["red","green","orange","yellow"] color=["red","green","orange","yellow"]
......
score={'语文':89,'数学':87,'英语':90,} student1={'语文':45,'数学':89,'英语':79,}
score={'语文':89,'数学':87,'英语':90,} student1={'语文':45,'数学':89,'英语':79,}
for d,v in score.items(): student2={'语文':66,'数学':90,'英语':67,}
print(d,v) student3={'语文':89,'数学':76,'英语':78,}
student1={'语文':,'数学':,'英语':,} a={'小明':student1,'小王':student2,'小李':student3}
student2={'语文':,'数学':,'英语':,} b=input("学生姓名")
student3={'语文':,'数学':,'英语':,} if b in a:
c=a[b]
for d,v in c.items():
print(d,v)
else:
print("您输入的名字错误,无法查询")
\ 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