mirror of
https://github.com/KUlishevgeniy/c22712.git
synced 2026-09-24 08:00:22 +00:00
tgbot
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
try:
|
||||
2/0
|
||||
except ZeroDivisionError as a:
|
||||
print('ofibka delit na nool', a)
|
||||
except:
|
||||
print("Ofibka")
|
||||
else:
|
||||
print('ofibok net')
|
||||
finally:
|
||||
print("выполнятеся в любом случае")
|
||||
|
||||
#def summ(a,b):
|
||||
# c=a+b
|
||||
# return c
|
||||
Reference in New Issue
Block a user