Commit 398bd052 by BellCodeEditor

save project

parent 6d13105f
...@@ -12,13 +12,13 @@ def abc(): ...@@ -12,13 +12,13 @@ def abc():
else: else:
total.append(unit) total.append(unit)
return total return total
a=abc() #a=abc()
print(a) #print(a)
def sum(num): def sum(num):
count=0 count=0
for i in num: for i in num:
count=count+1 count=count+i
return count return count
pay = sum(a) #pay = sum(a)
print(pay) #print(pay)
import func
data =func.abc()
score=func.sum(data)
print(score)
\ 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