Python’s built-in range
function is handy when you need to perform an action a specific number of times. As an experienced Pythonista, you’ve most likely used it before. But what does it do?
By the end of this course, you’ll:
- Understand how the Python
range
function works - Know how the implementations differ in Python 2 and Python 3
- Have seen a number of hands-on
range()
examples - Be equipped to work around some of its limitations
Let’s get cracking!
[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]
from Real Python
read more
No comments:
Post a Comment