Signing you in…

for Loop

The for loop: Iterating over elements

A for loop is used when you have a sequence (for example, a list of names or a range of numbers) and you want to perform an action for each element of that sequence. Python takes the next element by itself and puts it into the loop variable.

Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.