Commit f622d23c by BellCodeEditor

save project

parent af3e5445
Showing with 16 additions and 11 deletions
bjg=[] # bjg=[]
def gbj(): # def gbj():
while True: # while True:
a=input("钱:") # a=input("钱:")
if a=="q": # if a=="q":
break # break
else: # else:
bjg.append(a) # bjg.append(a)
gbj() # gbj()
print(bjg) # print(bjg)
\ No newline at end of file try:
a=int(input("你几岁了:"))
except:
print("输入整数")
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