What is the output of the following code ?
try: print('try') except ValueError: print('ValueError') finally: print('finally')
try
finally
ValueError
try block will be executed first and it will print "try"
As finally block is always executed, it will print "finally" also
Comment here: