Predict the outcome of each line:

i=1

j=0

while i<10:

i+=1

j+=2*2

print(i) # Line 1

print(j) # Line 2

Sample Solution

This question has been answered.

Get Answer