Commit 1f988ec8 by BellCodeEditor

save project

parent b97d5e82
Showing with 13 additions and 2 deletions
...@@ -12,4 +12,15 @@ def new_input(): ...@@ -12,4 +12,15 @@ def new_input():
else: else:
list1.append(data_1) list1.append(data_1)
print(list1) print(list1)
new_input() return(list1)
\ No newline at end of file
new_data=new_input()
print(new_data)
def count(new_data):
total=0
for i in new_data:
total=total+i
print(total)
return(total)
count(new_data)
\ 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