Commit f6e88d47 by BellCodeEditor

auto save

parent 05e7d622
Showing with 29 additions and 0 deletions
def sum(feiwu):
beiliya=0
for i in feiwu:
beiliya=beiliya+i
print(beiliya)
return beiliya
sum([10,20,30])
\ No newline at end of file
try:
name =int(input('我是奶龙'))
except:
print("我是贝利亚")
else:
if name=="我是小美":
print("我拿泥巴种荷花")
print("你好有实力")
def new_input():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:it)
return total
total.append(unit)
new_input()
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