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
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
Computer Science,
2 months ago
Social Sciences,
2 months ago
World Languages,
2 months ago
English,
5 months ago
Science,
5 months ago
Business Studies,
11 months ago
Hindi,
11 months ago