Commit 8bd07bd5 by BellCodeEditor

auto save

parent 40111fc4
Showing with 10 additions and 0 deletions
import random
change=[30,50,100,150]
n=random.choice(change)
name=input("请输入您的名字")
print("欢迎",name ,"您的余额为 ",n)
a={'可乐':10,"雪糕":20,"饼干":15}
y=input("请输入您需要购买的商品(Q退出购买)")
# f=["可乐 10","雪糕 20","饼干 15"]
# print(f)
\ 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