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