Commit 2ba0564a by BellCodeEditor

auto save

parent 05e7d622
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
import func
dota1 = func.RMB()
dota2 = func.TSB(dota1)
score=dota2
print(score'分!')
\ 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