Home / Android / When to use lists vs dictionaries in Python

When to use lists vs dictionaries in Python


how to create a list in Python

One of the most fundamental and simple skills to learn as a new coder is how to create a list in Python. But when you also have the option to create dictionaries – which are potentially more powerful – the question becomes why you should need this skill!

In this post, we’ll break down how to create a list in Python and when you should choose one over a dictionary.


Source link

About Deep into Tech

Check Also

The Pixel 6a's Cyber Monday price is so low it doesn't make sense

The deal of the day is finally upon us, and it's a sight to behold. ...

Leave a Reply

Your email address will not be published.

[class^="wpforms-"]
[class^="wpforms-"]