What will be the output of the given code snippet?
def fun(x,y): try: z = (x-y) d=x/z except ZeroDivisionError: print ("Please mind your calculations") else: print (d) # Driver program to test above function fun(1,2) fun(5,5)
Options
- Error
2.-1.0
Please mind your calculations
3.Please mind your calculations
Please mind your calculations
4.Please mind your calculations