how NOT to use try except in python code example
Example: try except python
def sum_of(x, y):
try:
print(x + y)
except TypeError:
print("Invalid argument specified.")
def sum_of(x, y):
try:
print(x + y)
except TypeError:
print("Invalid argument specified.")