In this course, you learned how to write loops like a Python developer. Keep in mind that writing C-style loops is considered not Pythonic. If possible, try to avoid managing loop indexes and stop conditions manually.
Also remember that for loops in Python are like “for each” loops in other languages, so you can use them to iterate over a container or sequence directly.
Congratulations, you made it to the end of the course! Make it stick: Mentor AI will check what you’ve got down, help you build something with it, and find your #1 takeaway to share in the discussion.
Or go straight to the discussion section and share your #1 takeaway and how you’ll put your new skills to use.
alanhrosenthal on March 24, 2020
Thanks. As an Old C Guy, this was very informative. It will probably take a bit of work to overcome my bad habits.