0 votes
in Python by
What is the output of the following?

i = 1
while False:
    if i%2 == 0:
        break
    print(i)
    i += 2

a. 1
b. none of the mentioned
c. 1 2 3 4 …
d. 1 3 5 7 …

1 Answer

0 votes
by
Answer is D

Related questions

0 votes
asked Jun 13, 2019 in Python by Derya
0 votes
asked Jun 13, 2019 in Python by Derya
...