Commit a752da66 by BellCodeEditor

save project

parent 6d88eca4
Showing with 32 additions and 0 deletions
def apple():
total = []
while True:
try:
unit= int(input("请输入:"))
if unit== 'q':
break
else:
total.append(unit)
except:
print("请输入数字")
else:
print()
print(total)
apple()
\ No newline at end of file
def sesed(a,q):
weer=a+q
return weer
weet=sesed(3,4)
print(weet)
\ No newline at end of file
try:
e=int(input('what are your do'))
except:
print('r')
else:
if e<18:
print('yuit')
print('yee')
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