exception example 3

This commit is contained in:
Mert Gör ☭ 2023-08-19 18:13:28 +03:00
parent d321366dab
commit 24aafcdf45
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
def foo():
return 10 + 'ali'
try:
foo()
except:
print('An exception occured...')
print('Continues...')