Categories

0 votes
679 views
in Python by (87 points)
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

1 Answer

0 votes
by
error

Related questions

0 votes
41 views
0 votes
70 views
asked Jun 13, 2019 in Python by Derya (87 points)
0 votes
44 views
0 votes
89 views
asked May 17, 2019 in Python by Derya (87 points)
0 votes
17 views
asked May 17, 2019 in Python by Derya (87 points)
...