Computer Science

What is the output produced when this code executes?

i = 1
while (i <= 7):
    i*= 2
print (i)
  1. 8
  2. 16
  3. 4
  4. 14
  5. no output

Python Control Flow

19 Likes

Answer

8

Answered By

4 Likes


Related Questions