Commit 0fdceb0c by BellCodeEditor

auto save

parent 05e7d622
Showing with 18 additions and 0 deletions
c=[]
def sum():
a=input('请输入价格:')
c.append()
return c
print(c)
\ No newline at end of file
try:
a=int(input("请输入年龄:"))
except:
print("要输入整数啊")
else:
if a>=18:
print('你成年了')
print('over')
\ 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