Commit d35eedf3 by BellCodeEditor

save project

parent 9607ca10
# price=[15,18,14,25] # price=[15,18,14,25]
def sum(money): def sum(money):
a=0 a=0
for i in price: for i in money:
a=a+i a=a+i
return a return a
# j=sum(price) # j=sum(price)
......
import func import func
fenshu=[10,19,18,15] fenshu=[10,19,18,15]
zf=func.sum(fenshu) zf=func.sum(fenshu)
print(zf/len()) print(zf/len(fenshu))
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