Commit 5cc470cd by BellCodeEditor

auto save

parent 98ecfa0e
Showing with 11 additions and 14 deletions
def ooo(x): total = []
ooo_list=[] def func():
i=0 while True:
while i<x: unit= input("请输入:")
ooo_list.append(i) if unit== 'q':
i+=1 break
print(i) else:
return ooo_list total.append(unit)
ooo(10) print(total)
func()
for i in ooo(10): \ No newline at end of file
print(i)
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