Commit 08791569 by BellCodeEditor

save project

parent c083b270
Showing with 13 additions and 9 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,}
student3={'语文':89,'数学':76,'英语':78,}
a={'小明':student1,'小王':student2,'小李':student3}
b=input("学生姓名")
if b in a:
c=a[b]
for d,v in c.items():
print(d,v) print(d,v)
student1={'语文':,'数学':,'英语':,} else:
student2={'语文':,'数学':,'英语':,} print("您输入的名字错误,无法查询")
student3={'语文':,'数学':,'英语':,} \ 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