+1 vote
in Python by

What is the output of the following code in Python3?

Select the best answer from below options : 

count = 0

while count < 2:

print (count, " is less than 2")

count = count + 2

else:

print (count, " is not less than 2")

a)0 is less than 2; 2 is not less than 2

b)1 is less than 2; 3 is not less than 2

c)2 is not less than 2

d)Error

1 Answer

0 votes
by

a)0 is less than 2; 2 is not less than 2

Related questions

+1 vote
asked Jan 10, 2021 in Python by rajeshsharma
0 votes
asked Jan 18, 2021 in Python by SakshiSharma
...