Mon 23 Dec 2024
When to use lists vs dictionaries in Python
Andriod Auto

When to use lists vs dictionaries in Python

2022-11-16

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 moreover have the option to create dictionaries – which are potentially increasingly powerful – the question becomes why you should need this skill!

In this post, we’ll unravel lanugo how to create a list in Python and when you should segregate one over a dictionary.

.