Commit 825d72fc by BellCodeEditor

save project

parent d3ddc6e8
Showing with 16 additions and 2 deletions
++ "b/QQ\343\200\202py"
......@@ -2,4 +2,6 @@
dict= {'可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10,'巧克力':6}
k=input("你要嘛")
if k in dict:
print("你的"+k+"给"+str(dict[k])+"元")
\ No newline at end of file
print("你的"+k+"给"+str(dict[k])+"元")
else:
print("没")
\ No newline at end of file
a={"ee":100,"qq":100}
q=input("请输入名字")
w=input("请输入成绩")
if q in a:
if int(w)>a[q]:
a[q]=int(w)
print(q+w+"分")
else:
a[q]=int(w)
print(q+"第一次"+w+"分")
\ 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