Question: [ HOMEWORK ] Problem # 1 . 2 Recall Example 1 . 1 above. Without changing the statement of the for - loops, improve the

[HOMEWORK] Problem #1.2
Recall Example 1.1 above. Without changing the statement of the for-loops, improve the code of Example 1.1 to handle exception(s).
A sample output is as follows:
89,85,21,77,87,62,64,16,91,96
89
85
21
77
87
62
64
16
91
96
list index out of range
[My Code 2:]
[] code 2:
import random
# your code here
[ HOMEWORK ] Problem # 1 . 2 Recall Example 1 . 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!