Commit a38c3395 by BellCodeEditor

save project

parent edbb11ce
Showing with 14 additions and 4 deletions
......@@ -6,8 +6,18 @@ def new_input():
break
else:
try:
str(unit)
unit=int(unit)
except:
print("艰苦艰苦")
print("你个SB,整数")
else:
total.append(unit)
\ No newline at end of file
total.append(unit)
print(str(total))
return total
ipip = new_input()
def lklk(ipip):
jdjd = 0
for i in ipip:
jdjd += i
return jdjd
mnmn = lklk(ipip)
print(str(mnmn))
\ 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