Commit aab72cc1 by BellCodeEditor

save project

parent dc70412a
Showing with 24 additions and 0 deletions
def RMB():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
int(unit)
except:
print("JHQ9U5,70Y7MEGSDOMXZMXFJNBHDF")
else:
total.append(unit)
return total
S=RMB()
def TSB(S):
MISS=0
for i in S:
i=int(i)
MISS+=i
return MISS
SS=TSB(S)
print(SS)
\ 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