Computer Science, asked by sharmasachin4740003, 5 months ago

Find the output of the following :

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

all options are wrong except c that is incorrect syntax of for loop


sharmasachin4740003: If x = 10, then the cod if x % 2 == 0: will return ……………………………..​
Similar questions