Commit 2bf50d75 by BellCodeEditor

save project

parent e6b85f87
Showing with 7 additions and 0 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
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