Commit dc5e930b by BellCodeEditor

save project

parent 41418f1e
Showing with 3 additions and 19 deletions
def new_input(): import turtle
total = [] pen.left(91)
while True: \ No newline at end of file
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
print("得老子输数字")
else:
total.append(unit)
print(total)
return total
new_input()
print(total)
print(1)
\ 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