Commit 7beb7dae by BellCodeEditor

save project

parent 8a22d840
Showing with 8 additions and 0 deletions
def new(list):
total=0
for i in list:
total=total+i
print(total)
return(total)
f=new(list=[1,2,3,4,5])
print(f)
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