# File: divby0ex1.py # See what happens when you divide by 0 # catch the exception that occurs # # Matt Bishop, MHI 289I, Fall 2023 # # # this can be any integer x = 7 # # Here's how you check for it try: y = x / 0 except: print("Error occurred")