Commit b7e33a71 by BellCodeEditor

auto save

parent fc0e51e6
Showing with 8 additions and 10 deletions
def b(): try:
a = [] unit= int(input("请输入:"))
while True: except:
unit= input("请输入:") print("输入整数")
if unit== 'q': else:
break if unit== '1':
else: print("输入正确")
a.append(unit) \ No newline at end of file
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