Commit 1299deea by BellCodeEditor

save project

parent 8114f9c4
import func
import turtle
aa = func.jiage()
print(aa)
d = func.sx(aa)
print('总分是',d)
\ No newline at end of file
def jiage():
total = []
while True:
unit= input("str")
unit= input("请输入")
if unit== 'q':
break1
break
else:
total.append()
print(total)
jiage()
\ No newline at end of file
total.append(unit)
return total
#a=jiage()
#print(a)
def sx(ju):
b=0
for i in ju:
b=b+int(i)
return b
#c=sx(a)
#print(c
\ 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