Equivalence of Looping Structures

This lesson explains how we can covert a for loop into a while loop.

For loop #

An example of for loop is given below:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy