Commit 006f137b by BellCodeEditor

save project

parent c0b7fb42
Showing with 14 additions and 18 deletions
defsum(monek):
cound=0
for i in monek:
cound==1
return cound
print(sum[1,2,3,4])
list = [1,2,3]
print(sum([list]))
\ No newline at end of file
......@@ -9,24 +9,10 @@ def new_input():
unit=int(unit)
except:
print('请输入一个数字')
else:
else:
total.append(unit)
total.append(unit)
print("_"*30)
print(total)
new_input()
rutunt total
print(rutunt)
\ 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