Commit 0954c17b by BellCodeEditor

save project

parent 6d592f43
...@@ -13,11 +13,12 @@ def niubi(): ...@@ -13,11 +13,12 @@ def niubi():
total.append(unit) total.append(unit)
print("-"*30) print("-"*30)
return total return total
def sum(money) pay=sum(sahbi)
def sum()
count=0 count=0
for i in money: for i in pay:
count =count+1 count =count+pay[i]
return count return count
print(pay) print(count)
pay=sum(sahbi)
print(sahbi) #print(sahbi)
\ No newline at end of file \ No newline at end of file
import func
import func
func.niubi()
func.sum()
print(pay)
++ "b/\347\232\204\350\257\264\346\263\225\345\274\200\345\217\221\345\223\210\345\226\2759\345\220\204\345\215\225\344\275\215i\346\211\253\345\203\277\343\200\202"
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