Commit 00199ad1 by BellCodeEditor

auto save

parent f080190e
Showing with 18 additions and 5 deletions
for l in range(1,10):
for n in range(1,l+1):
print(l,"*",n,"=",(l*n),sep="",end=" ")
print()
bros=["关羽","刘备","张飞"]
print=bros[2]
s1={"数学":120,"语文":120}
s2={"数学":106,"语文":116}
s3={"数学":100,"语文":107}
scores={"小明":s1,"小王":s2,"小李":s3}
while True:
a=input("名字:")
if a in scores:
s=""
for m,n in scores[a].items():
s=s+m+str(n)+" "
print(a+"同学,你的成绩是"+s)
else:
print("同学,没有查到你的成绩")
print(3.1415926*2)
\ 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