Computer Science, asked by sharmasachin4740003, 4 months ago

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 sb132149
0

Answer:

the answer is no error. because the value of x should be a numerical and it cannot be x

Similar questions