What will be the output of the given code snippet?
try : x = 5 if x < 6 : y = x/(x-3) print ("My", y) print ("Why",c) except(ZeroDivisionError, NameError): print ("Change the world ")
Options
- Syntax Error
- My 2.5
Change the world
3.My 2.5
4.Change the world