0
What is lists in python and why it is used in python
3 odpowiedzi
+ 3
well a list in python can be compared to a list in reallife like a shopping list. But a list in python can do a lot more! it has alot of uses for example when working with alot of objects, making code more readable, shortening code, representing a grid (2d list), ...
+ 2
just like an array in another languages , list is a data type in python which contain different values inside it.
0
List, in python Is used to store multiple data in a single variable.
It is like array in others programming languages.
:()