You have 35 weeks remaining for the course
-
String 0/9
-
Lecture1.1
-
Lecture1.2
-
Lecture1.3
-
Lecture1.4
-
Lecture1.5
-
Lecture1.6
-
Lecture1.7
-
Quiz1.1
-
Lecture1.8
-
Data Types
Python Collections (Arrays)
There are four collection data types in the Python programming language:
- List is a collection which is ordered and changeable. Allows duplicate members. [ ]
- Tuple is a collection which is ordered and unchangeable. Allows duplicate members. ( )
- Set is a collection which is unordered and unindexed. No duplicate members. { }
- Dictionary is a collection which is unordered, changeable and indexed. No duplicate members. { key : value }
When choosing a collection type, it is useful to understand the properties of that type. Choosing the right type for a particular data set could mean retention of meaning, and, it could mean an increase in efficiency or security.
Prev
Practice Files
Next
String