Commit 7892a2ac by BellCodeEditor

save project

parent 2e42ac37
Showing with 10 additions and 7 deletions
total = []
def ABC(): while True:
while True:
total = []
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
break break
...@@ -12,6 +10,10 @@ def ABC(): ...@@ -12,6 +10,10 @@ def ABC():
print("错了") print("错了")
else: else:
total.append(unit) total.append(unit)
return total #try:
ABC() #SB()
print(total) #except:
#print("大傻逼,草泥马")
#else:
#print("这个一亿,付款")
#print("没了")
\ 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