Question: [ HOMEWORK ] Problem # 1 . 2 Recall Example 1 . 1 above. Without changing the statement of the for - loops, improve the
HOMEWORK Problem #
Recall Example above. Without changing the statement of the forloops, improve the code of Example to handle exceptions
A sample output is as follows:
list index out of range
My Code :
code :
import random
# your code here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
