Commit d4d82a7b by BellCodeEditor

save project

parent 43f90fa9
Showing with 7 additions and 5 deletions
......@@ -4,7 +4,7 @@ def new_input():
total = []
while True:
unit= input("请输入:")
str(unit)
#str(unit)
if unit== 'q':
break
else:
......@@ -12,6 +12,8 @@ def new_input():
except:
print("请输入字符串")
else:
print(total)
new_input()
\ No newline at end of file
print(total)
return total
a=new_input()
print(a)
\ 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