try: a=0 print(f"{1/a}") except: raise ZeroDivisionError("...........") finally: print("This thing is not getting printed for a=0")