Commit 7625f380 by BellCodeEditor

save project

parent 09063659
Showing with 5 additions and 20 deletions
def new_input(): def hello(hh):
total = [] c = "相信光吗"+hh
while True: return c
unit = input('请输入(q退出:)') r = hello("迪迦")
if unit == 'q': print(r)
break
else:
try:
unit = int(unit)
except:
print("请输入数字")
else:
total.append(unit)
print("_"*30)
return total
print(total)
new_input()
result = new_input()
print(result)
\ 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