Created
February 18, 2019 04:53
-
-
Save Ventsislav-Yordanov/367aabef6d85e1f6ad11c7cfcdb69fb8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
print(int("Hello")) | |
except NameError: | |
print("A NameError occured") | |
except TypeError: | |
print("A TypeError occured") | |
except ValueError: | |
print("A ValueError occured") | |
except: | |
print("Another type of error occured") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment