Commit bab5c28a by BellCodeEditor

save project

parent 97e1b013
import func
data=func.sui()
score=func.bian(data)
print("你的成绩是"+str(score))
\ No newline at end of file
......@@ -12,11 +12,11 @@ def sui():
else:
total.append(unit)
return total
n=sui()
#n=sui()
def bian(num):
s=0
for i in num:
s=s+i
return s
pay=bian(n)
print(pay)
\ No newline at end of file
#pay=bian(n)
#print(pay)
\ 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