Commit 0fcb0318 by BellCodeEditor

auto save

parent 323f71a3
Showing with 7 additions and 11 deletions
def price(): a1={"数学":77,"语文":88,"英语":99}
total = [] b1={"数学":37,"语文":28,"英语":59}
while True: ={"明":a1,"亮":b1}
unit= input("请输入:") a=input("请输入班级")
if unit== 'q': b=input("请输入姓名")
break print([a][b])
else: \ No newline at end of file
total.append(unit)
print(total)
price()
\ 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