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
1
Answer:
a. incorrect syntax of break statement.
Answered by
1
Answer:
c. incorrect syntax of for loop
Similar questions