Trying to understand "For-Loops"? They can be confusing at first, but with this step-by-step tutorial through two examples (list of zoo animals & ranges) we'll get help things clarified. So open up Spyder and get ready to follow along!
In case you do not have Anaconda installed on your computer (free, open-source program), then please refer to this video for the installation ( • Python: Installing Anaconda on macOS ... .
Just like learning anything new, practice makes better! You can practice with us by going through our free exercises on our website and following-along in our YouTube "Introduction to Python" playlist:
Website: https://stem-tutorials.com
YouTube Playlist: • Introduction to Python from stem-tuto...
Contents:
0:00 - Introduction
0:16 - Example 1 - For Loop with List of Animals
3:49 - Example 2 - For Loop with "Ranges"