Categories

May 17, 2019 in Python
Q: What is the output of the following code? count = 0 while count < 2: print (count, " is less than 2") count = count + 2 else: print (count, " is not less than 2")

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

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

3)2 is not less than 2

4)Error

Related questions

Madanswer
May 16 in Python
Jun 13, 2019 in Python
Jun 13, 2019 in Python
...