Friday, September 4, 2020

Mike Driscoll: Python 101 – Learning About Loops (Video)

In this tutorial, you will learn how to use for and while loops in Python.

Specifically, you’ll learn how to:

  • Create a for loop
  • Loop over a string
  • Loop over a dictionary
  • Extract multiple values from a tuple
  • Use enumerate with loops
  • Create a while loop
  • Breakout of a loop
  • Use continue
  • Use else with loops
  • Nest loops

Buy the book: Python 101 2nd Edition

The post Python 101 – Learning About Loops (Video) appeared first on The Mouse Vs. The Python.



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...