Commit 9117f1dc by BellCodeEditor

auto save

parent d7408fe5
Showing with 10 additions and 3 deletions
......@@ -7,7 +7,7 @@ def new_input():
break
else:
try:
int(unit)
unit=int(unit)
except:
print("BUG")
......@@ -16,4 +16,11 @@ def new_input():
print("-"*30)
return total
a=new_input()
print(a)
\ No newline at end of file
def b(c):
x=0
for i in c:
x=x+i
return x
sum=b(a)
print(sum)
\ 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