Commit 2d5f8129 by BellCodeEditor

save project

parent 7c05990f
Showing with 6 additions and 20 deletions
i=3
a="xsg"
b="123456"
while True:
if i>0:
name==input("zhanghao")
bbb==input("mima")
if name==a and bbb==b:
print("chenggong")
break
if name!=a:
print("cuowu")
continue
if bbb!=b:
print("mimacuowu")
print("chenggong")
print("jingru")
\ No newline at end of file
uoipiyioty
\ No newline at end of file
dict={"刘":100,"唐":999999999999999,"罗":10,"布丁":2000,"杨杨":500}
k=input("what do you want to have?")
if k in dict:
print("if you want to buy"+k+"you need pay"+str(dict[k])+"yuan")
else:
print("we don't have you want")
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