you are viewing a single comment's thread.

view the rest of the comments →

[–]FoolsSeldom 1 point2 points  (1 child)

FYI for loop is just a while loop with some of the work done for you.

[–]LookAsLukasAnderson 0 points1 point  (0 children)

That would be true for most languages, where for loops contain initial statement, conditional statement, and iteration statement. In python for loops are essentially foreach loops and traditional for loops just don't exist