Commit 5dae635d by BellCodeEditor

save project

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