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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!