Commit a55bf2c3 by BellCodeEditor

save project

parent 16d75626
Showing with 14 additions and 9 deletions
total = [] def S_B():
while True: total = []
unit= input("请输入:") qianxi = 0
if unit== 'q': while True:
break unit= input("请输入:")
else: if unit== '250':
total.append(unit) break
print(total) else:
\ No newline at end of file total.append(unit)
qianxi+=int(unit)
print(total)
print(qianxi)
S_B()
\ 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