exceptions | SoloLearn: Learn to code for FREE!

+1

exceptions

try: variable = 10 print (10 / 2) except ZeroDivisionError: print("Error") print("Finished") a)5.0 Finished b)Error Finished c)5.0 print(10/2) prints 5 with new line so,answer should be 5.0 Finished

9/18/2017 12:03:36 PM

MANKALA RAVALIKA

1 Answer

New Answer

0

put print("Finished") after finally: