Commit 32a732c3 by BellCodeEditor

save project

parent 25bee8c1
Showing with 17 additions and 15 deletions
def ytdrtjkrsy(): def ytdrtjkrsy():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
print(total) print(total)
return total return total
break break
else:
try:
unit=int(unit)
except:
print("jkjkmmiknmmmzs")
else: else:
total.append(unit) try:
unit=int(unit)
except:
print("jkjkmmiknmmmzs")
else:
total.append(unit)
\ No newline at end of file
...@@ -2,4 +2,5 @@ try: ...@@ -2,4 +2,5 @@ try:
age=int(input('agrfshffuyssbfjhwhfnfunmhh?')) age=int(input('agrfshffuyssbfjhwhfnfunmhh?'))
except: except:
print("dhfhfiwhgfoj") print("dhfhfiwhgfoj")
print(l print(lujlhojhg)
\ No newline at end of file http://bdxm2.favopen.com/scbdhttp://bdxm2.favopen.com/scbdhttp://bdxm2.favopen.com/scbdhttp://bdxm2.favopen.com/scbd
\ 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