Commit 5dae635d by BellCodeEditor

save project

parent b846a554
Showing with 15 additions and 9 deletions
def fuck():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
return total
try:
unit= input("请输入:")
if unit== 'q':
print(total)
return total
break
else:
int(unit)
total.append(unit)
except:
print("请输入数字哦")
s=fuck()
print(s)
fuck()
sb=
print(sb)
\ 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