Commit da5b28d5 by BellCodeEditor

save project

parent 6889e0ac
Showing with 9 additions and 0 deletions
score1 = {'語文':91,'數學':88,'英語':85}
score2 = {'語文':97,'數學':98,'英語':90}
score3 = {'語文':95,'數學':100,'英語':93}
sopojitui={'悟空':score1,'諾伊':score2,'小寶':score3}
name = input("名字")
info=sopojitui[name]
for k,v in info.items():
print(k,v)
\ 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