Commit 396971df by BellCodeEditor

save project

parent 05e7d622
def sum(money):
count=0
for i in money:
count+=i
return count
# prince=[18,28,38,47]
# i=sun(price)
# print(i)
\ No newline at end of file
import func
fenshu=[12,44,69,23,35]
zf=func.sum(fenshu)
print(zf/len(fenshu))
\ 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