Commit 414b1fe0 by BellCodeEditor

auto save

parent 7b185fe8
...@@ -13,13 +13,18 @@ def new_input(): ...@@ -13,13 +13,18 @@ def new_input():
total.append(unit) total.append(unit)
print(total) print(total)
return total return total
r=new_input() r=new_input()
def b(r): sum=0
sum=0 def b(r):
for i in r: for i in r:
sum+=i sum+=i
print(sum) print(sum)
return sum return sum
print(sum)
new_input()
new_input() import turtle
\ No newline at end of file \ No newline at end of file
import func
data =func.new_input()
score=func.b(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