Commit 05bc5fad by BellCodeEditor

auto save

parent 3eb6c718
Showing with 20 additions and 15 deletions
rng=(0)
pug=(0)
uug=(0)
rng=0
pug=0
uug=0
for i in range(100):
pug=pug+1
int(pug)
......
total = []
while True:
unit= input("请输入:")
try:
int(unit)
except:
print("玩我呢 3.141592653587989426323")
else:
total.append(unit)
print(total)
\ No newline at end of file
def new_feng():
total = []
while True:
unit= input("请输入:")
if unit=='q':
break
try:
unit=int(unit)
except:
print("玩我呢")
else:
total.append(unit)
print(total)
return total
reversed=new_feng()
print(reversed)
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