exception example 3
This commit is contained in:
parent
d321366dab
commit
24aafcdf45
7
python-temel/exception.example.3.py
Normal file
7
python-temel/exception.example.3.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
def foo():
|
||||||
|
return 10 + 'ali'
|
||||||
|
try:
|
||||||
|
foo()
|
||||||
|
except:
|
||||||
|
print('An exception occured...')
|
||||||
|
print('Continues...')
|
Loading…
Reference in New Issue
Block a user