Commit 85387bd2 by BellCodeEditor

save project

parent 2a7b0245
Showing with 10 additions and 3 deletions
......@@ -5,11 +5,18 @@ def new_input():
if unit== 'q':
break
else:
pass
try:
unit=int(unit)
except:
print('a')
else:
total.append(unit)
new_input()
print(total)
\ No newline at end of file
return total
def c(list):
c=0
for i in list:
c=c+1
return c
print(c(new_input()))
\ 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