Commit cb8bebad by BellCodeEditor

auto save

parent 303978e1
Showing with 12 additions and 10 deletions
def func():
total = []
while True:
unit= input("请输入:")
if unit =='q':
break
else:
total.append(unit)
print(total)
\ No newline at end of file
plryer=input("石头/剪刀/")
try :
age=int(input("输入你的年龄:"))
print(age)
except:
print("输入错误")
print("bug"*10)
else:
if age > 60:
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