Commit 80a06fb4 by BellCodeEditor

save project

parent f9724e4f
Showing with 3 additions and 10 deletions
......@@ -7,7 +7,7 @@ def new_input():
break
else:
try:
unit=int(unit)
int(unit)
except:
print("BUG")
......@@ -16,11 +16,4 @@ def new_input():
print("-"*30)
return total
a=new_input()
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
print(a)
\ 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