- [Instructor] Python ships with a basic set of data types…for working with collections of data,…and you've probably already used some…or all of these in your work at some point.…In this chapter, we're going to learn…about some of the more specialized…and useful collection data types,…and how they build on the basic types…to help solve different kinds of programming problems.…So as a quick refresher,…recall that Python has four basic collection data types.…There's the list,…which is a sequence of data types…and is declared using square brackets…with each data item separated by a comma.…
A close relative of lists are tuples,…which are defined with parentheses,…and are also comma separated.…However, lists can be changed once they are created…because they are mutable,…whereas tuples are not.…Next is the set,…which is an unordered collection of distinct values,…defined using curly braces,…and like lists, sets can be changed once they're created…because they're mutable.…And finally is the dictionary,…which is an unordered set of key-value pairs…
- Truth value testing
- Template strings
- Advanced Python functions
- Advanced collections
- Advanced classes and objects
- Python comprehensions: list, dictionary, and set
Skill Level Advanced
1. Python Language Features
2. Built-In Functions
3. Advanced Python Functions
4. Advanced Collections
5. Advanced Classes and Objects
6. Using Logging
7. Python Comprehensions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.