The for loop on the left is converted into the while loop on the right. What is wrong? Correct it.
for i in range(4):
if i % 3 == 0:
continue
sum += i
converted || Wrong Conversion
i = 0
while i < 4:
if i % 3 == 0:
continue
sum += i
i += 1
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.