Find the output of the following code:
for x in [10, 15, 20, 25]:
if(x == 20):
break:
print(“the value of x is”, x)
a. Incorrect syntax of break statement
b. No Error
c. incorrect syntax of for loop
d. None of these
Answers
Answered by
0
Answer:
answer is option C is the right answer
Similar questions