why do we use try and except in python without function code example
Example: python try without except
try:
print('try to print this')
except:
pass #do nothing
try:
print('try to print this')
except:
pass #do nothing