Question: A written explanation is needed for the following problem. Predict the outcome of each line: I = 1 j = 0 while I < 10:
A written explanation is needed for the following problem. 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
Step by Step Solution
There are 3 Steps involved in it
In the given code snippet we have two variables I and j initialized with values 1 and 0 respectivel... View full answer
Get step-by-step solutions from verified subject matter experts
