Commit fad32a4e by BellCodeEditor

save project

parent ba00a8cf
Showing with 7 additions and 15 deletions
def price():
jiage = []
while True:
danjia = input("请输入价格")
try:
if danjia == 'p':
break
else:
jiage.append(int(danjia))
except:
input("请输入整数")
retun
print(jiage)
price()
\ No newline at end of file
username="sb"
user="12345"
aoligei=input("输入账户")
zhizhang=input("输入密码")
if username==aoligei and user==zhizhang:
print("成功")
\ 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