Python 3, Part 3: Data

with expert Peter Thorsteinson

In this course we are going to talk about data and data types. Python is a dynamically typed language that means it does not use a compiler. So the data types of variables and expressions won't be known until the code is executed at runtime. We will take a look at the different data types that are supported and the built-in data types of Python. We will also talk about numbers, string and Boolean. Then we’ll move onto a File type, and show how that can be used to iterate over elements within a file as a sequence. Next we’ll cover Lists, Dictionary, and Tuple, which is similar to a List but its contents are immutable. Then we will talk about Set, which is another type of collection, but unlike the others, Set is unordered and all of its elements are unique. And then we'll take a look at a very powerful concept known as comprehensions.

Course Outline