Commit 9ee124bb by BellCodeEditor

save project

parent 79fc4da3
Showing with 19 additions and 0 deletions
try:
age = int(input('How age are you?'))
except:
print('请输入整数')
else:
if age < 18:
print('不可以喝酒,槽你奶奶')
a=[1,2,3,4]
b=[2,4,5,7]
def sum(list):
count=0
for i in list:
count=count+i
return count
m=sum(a)
mn=sum(b)
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