DEV Community

Jeremy Grifski
Jeremy Grifski

Posted on

4

8 Articles About Python Lists (+ 2 Videos)

One of my favorite data structures in Python is the list. Honestly, there's a lot to like about Python lists. For one, they're easy to use and intuitive. In fact, declaring one and indexing it is as easy as:

nums = [2, 9, 6]
nums[0]  # returns 2
Enter fullscreen mode Exit fullscreen mode

Better yet, Python lists are thoroughly supported. There are tons of convenience features that make lists fun to work with (i.e. negative indexing, iterable unpacking, etc.). That's why I can't stop writing about them:

Well, lately, I've decided to start improving these articles to include more than just solutions. For example, a few months ago, I started adding performance metrics using the timeit library. Recently, I started adding challenges, so you can take what you learn a step further.

Now, I'm converting some of these articles into videos for your viewing pleasure. Say hello to my latest two videos:

As always, I appreciate your support, and I hope these videos are helpful to someone. Thanks!

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay