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.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Functions: Composite Data Types

Give Feedback

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.