Software engineering and personal development

Tag: find

How to Find the First Element in a List in Python Without Using the Index 0

Photo by Chris Ried on Unsplash

One of the most common ways of finding the first element in a list in Python is using the index 0.

I was recently thinking of coming up with a more creative idea and I figured out another way.

It’s not something that you may have not figured out yourself. It also doesn’t mean that someone doesn’t know it.

Still, there is always someone who may also find it helpful or that hasn’t had the chance to have time to think about it.

Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑