Commit 47202cb0 by BellCodeEditor

save project

parent 4896252c
Showing with 14 additions and 2 deletions
......@@ -13,9 +13,14 @@ def new_input():
total.append(unit)
print(total)
return total
jhg=new_input()
print(total)
a=0
for i in jhg:
def sum():
a=0
for i in jhg:
a=a+1
return a
b=sum()
print(a)
\ No newline at end of file
import jhg
jhg.new_input()
c=jhg.sum()
c=str(c)
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