Computer Science

What is the output when this code executes ?

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

Python Control Flow

14 Likes

Answer

no output

Answered By

3 Likes


Related Questions