do i always need else statement in python in try except? code example
Example: python try else
try:
a=2*3
except TypeError:
print("Exception raised")
else:
print("Everything is ok.")
try:
a=2*3
except TypeError:
print("Exception raised")
else:
print("Everything is ok.")