Commit dc5bfb68 by BellCodeEditor

save project

parent 2bf50d75
Showing with 14 additions and 7 deletions
q={'旺仔牛逼糖':223,'肥快乐':10}
s=input('输入商品')
z=int(input('输入商品数'))
if s in q:
b=q(s)*z
print('您要的商品为'+'s'+'数量为:'+str(z)+'价格为'+str(q[s]))+'一共str(b)')
\ No newline at end of file
w={}
while True:
q=input("你的名字是")
s=input("你的成绩是")
if q in w:
if int(s)>w[q]:
w[q]=int(s)
print('skdsajdsalkjdksa')
else:
print('sdasdsasadaddsa')
else:
w[q]=int(s)
print(q+"你第一次成绩上篡")
\ 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