T Trần Vũ New member Sep 20, 2021 #1 When will the else part of try-except-else be executed? A. always B. when an exception occurs C. when no exception occurs D. when an exception occurs in to except block
When will the else part of try-except-else be executed? A. always B. when an exception occurs C. when no exception occurs D. when an exception occurs in to except block
T Trang Huynh Member Sep 20, 2021 #2 Answer: c Explanation: The else part is executed when no exception occurs. Upvote 0 Downvote