--Originally published at Newbie Programmer
Welcome to another post, and another loop.
In this case we explain the FOR loop. The for loop is used for the same things as the While Loop, but the for loop is for finite loops.
You can use Lists.
If you put, for example the print (“A value”) into the loop, the words “A value” can be printed with every number.
Range function.
If you put a third number in the (), this number activates a function that says steps of 2 in the range.
And you can use slices (strings) for the for loops.
Source: https://www.youtube.com/watch?v=xtXexPSfcZg&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M&index=7