Computer Science

How many times does the following code execute ?

x = 1
while (x <= 5):
    x + 1
print (x)
  1. 6
  2. 1
  3. 4
  4. 5
  5. infinite

Python Control Flow

25 Likes

Answer

infinite

Answered By

3 Likes


Related Questions