#Author: James Tam #Version: October 3, 2024 #Learning: catching multiple exceptions aList = [1,2] #Multiple exceptions can be thrown try: i = 2 print(aList[i]) quotient = 1/0 except IndexError: print("Index=%d is beyond the bounds of 0-%d" %(i,len(aList))) except ZeroDivisionError: print("Cannot divide by zero")