CHALLENGE ACTIVITY 10.2.1: Enter the output of multiple exception handlers. 375510.2350218.qx3zqy7 Jump to level 1 ) D-]
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
CHALLENGE ACTIVITY 10.2.1: Enter the output of multiple exception handlers. 375510.2350218.qx3zqy7 Jump to level 1 ) D-]
CHALLENGE ACTIVITY 10.2.1: Enter the output of multiple exception handlers. 375510.2350218.qx3zqy7 Jump to level 1 ) D-]] Type the program's output Input six 5 user_input = input() while user_input != 'end': try: # Possible ValueError divisor = int(user_input) # Possible ZeroDivisionError print (60 // divisor) # Truncates to an integer except ValueError: print('v') except ZeroDivisionError: print('2') user_input = input () print('OK') 3 end Output 3 Check Next Feedback?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!