1.

What are the possible outcome(s) executed from the following code? Also, specify the maximum and minimum values that can be assigned to variable SEL.import randomSEL=random. randint (0, 3)ANIMAL = [“DEER”, “Monkey”, “COW”, “Kangaroo”];for A in ANIMAL:for AAin range (1, SEL):print (A, end =“”)print ()(i)(ii)(iii)(iv)DEERDEERDEERDEERDEERMONKEYMONKEYDELHIMONKEYMONKEYMONKEYMONKEYCOWCOWDELHIMONKEYCOWCOWKANGAROOKANGAROOKANGAROOKANGAROOKANGAROOKANGAROO

Answer»

Maximum value of SEL is 3. 

The possible output is below 

DEER 

Monkey Monkey 

Kangaroo Kangaroo Kangaroo 

Thus (iv) is the correct option.



Discussion

No Comment Found