Commit 9f09edcb by BellCodeEditor

save project

parent 4dbb1910
Showing with 5 additions and 1 deletions
......@@ -11,11 +11,14 @@ def calcu():
else:
total.append(unit)
return total
def sum (total)
def sumhe (total)
count=0
for i in total:
count+=i
return count
res=calcu()
he=sumhe(res)
print(res)
print(he)
\ 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