0

What is lists in python and why it is used in python

5th Oct 2019, 6:17 PM
Balaji
Balaji - avatar
3 Respostas
+ 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), ...
5th Oct 2019, 6:20 PM
Anton Böhler
Anton Böhler - avatar
+ 2
just like an array in another languages , list is a data type in python which contain different values inside it.
5th Oct 2019, 6:25 PM
m8riix
m8riix - avatar
0
List, in python Is used to store multiple data in a single variable. It is like array in others programming languages. :()
7th Oct 2019, 11:14 AM
Tarnue Pythagoras Borbor
Tarnue Pythagoras Borbor - avatar