Commit 1e970b84 by BellCodeEditor

auto save

parent c3838751
Showing with 13 additions and 2 deletions
...@@ -4,10 +4,16 @@ def new_input(): ...@@ -4,10 +4,16 @@ def new_input():
q= input("请输入:") q= input("请输入:")
if q== 'q': if q== 'q':
break break
try:
q=int(q)
except:
print("请输入一个数字!")
else: else:
e.append(q) e.append(q)
print(e) print(e)
return e return e
w=new_input() w=new_input()
print(w) print(w)
\ No newline at end of file def snm(pig):
for i
\ No newline at end of file
w=1
e=100
r=w+e
print(r)
\ 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