29. Observe the following program and answer the questions that follow:
Area =["NORTH", "SOUTH","EAST","WEST")
for l in range(3):
ToGo=random.randrange(0,2) + 1
print(AreaſToGo),end=":")
(a) What is the minimum and maximum number of times the loop will execute?
(b) Find out, which line of output(s) out of () to (iv) will not be expected from the program?
#Output Options:
1. SOUTH : EAST : SOUTH :
H. NORTH : SOUTH : EAST:
II. SOUTH : EAST: WEST:
iv. SOUTH : EAST : EAST:
Answers
Answered by
0
Answer:
option b
Explanation:
north south east
Similar questions