Question: Python does not support the post-test loop. Convert the below post-test loop in Pascal to the pre-test loop in Python. result := 1; i :=
Python does not support the post-test loop. Convert the below post-test loop in Pascal to the pre-test loop in Python.
result := 1;
i := 2;
repeat
result := result + i;
i = i*i;
until result >= 203
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
