Commit 2c948aa9 by BellCodeEditor

save project

parent 86df7e2a
Showing with 6 additions and 1 deletions
...@@ -6,10 +6,14 @@ def a(): ...@@ -6,10 +6,14 @@ def a():
break break
else: else:
try: try:
int(unit) unit=int(unit)
except: except:
print("sb") print("sb")
else: else:
total.append(unit) total.append(unit)
return total return total
p=a() p=a()
m=0
for i in p:
m=m+p[i]
print(m)
\ 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