Is there a way in python to turn a try/except into a single line?
something like...
b = \'some variable\' a = c | b #try statement goes here <
b = \'some variable\' a = c | b #try statement goes here
How about using two lines. is it ok ?
>>> try: a = 3; b= 0; c = a / b ... except : print('not possible'); print('zero division error') ... not possible zero division error