Join us and get access to hundreds of tutorials and a community of expert Pythonistas.
Unlock This Lesson
This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.
Basic Data Types in Python
ricardoaparicio92 on March 22, 2020
In python, is there no difference between lists and arrays?
Jonathan Velez on March 29, 2020
Arrays and lists are essentially the same thing. Python just calls it a list as opposed to other languages call it an array.
Zarata on March 31, 2020
Fortunately, I have done enough Python tutorial prior and elsewhere that I can follow just fine. I am traveling this basic intro. path to fill in any gaps. However, at this point I see the true, raw novice – who has just installed Python for the first time and chosen an editor / IDE – is in sudden confrontation with methods, if-else conditionals, separately written modules launched from command line, lists, and dictionaries. These provide flavour and meaning to the basic data types, but may be a bit of a jolt for some / many trying to learn from scratch.
birajksahu on June 21, 2020
@Jonathan: Arrays and lists are not the same in python, even when they have lot of similarities. The most important difference is list can be used to store heterogeneous data types, but array can be used to store data of a single type.
Tobi Olusa on July 10, 2020
@birajkshau Would you be more kind by telling us some instances in the differences of list and array?
Become a Member to join the conversation.