Commit 23b7190b by BellCodeEditor

save project

parent 2fe8b869
Showing with 14 additions and 7 deletions
try:
def er(): def er():
total = [] total = []
while True: while True:
...@@ -6,8 +6,15 @@ try: ...@@ -6,8 +6,15 @@ try:
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
print(total) fg=int(unit)
er() except:
except: print("NameError")
print("NameError") else:
\ No newline at end of file total.append(unit)
finally:
print("-"*30)
return total
we=er()
print(we)
\ 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