Commit 40fa2879 by BellCodeEditor

save project

parent 802bf1d8
Showing with 13 additions and 11 deletions
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
\ No newline at end of file
def add():
x = 5
y = 9
print("return前")
return x
print("return后")
z = x + y
result = add()
print(result)
\ No newline at end of file
try:
try:
try:
age = int(input('你今年几岁了?'))
except:
print('')
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