Variables in Python: Overview
If you want to write code that is more complex, then your program will need data that can change as program execution proceeds.
Here’s what you’ll learn in this course:
- How every item of data in a Python program can be described by the abstract term object
- How to manipulate objects using symbolic names called variables
00:00 Hello! And welcome to this course about variables in Python. My name is Martin, and we’re going to talk about how in Python every data item that you have can be described by the abstract term object and how we can use variables to refer to those objects and manipulate them.
00:17 We’ll talk about this in five separate sections, where we start off with variable assignments, where we just give a how to do it—like, how can you assign a value to a variable in Python.
00:27 Then we’ll move on to a deeper dive in chapters 2 and 3 about object references and object identity. In these two chapters, we’re going to learn about what is actually going on when we assign a value to a variable in Python. And then in chapter 4, we’ll talk about conventions.
00:42 What can you use as variable names and what are disallowed characters or disallowed ways of naming variables that are just not going to work? And tied up to that, in chapter 5 we’re going to talk about some reserved keywords that Python has that you also cannot use as variable names. We’re going to do this, I hope you’re going to have some fun while doing it, and there’s going to be a couple of recaps on the way, so just make sure you’re to relax and enjoy and I hope you will have fun!
01:09 See you in the next video, where we’ll get started with variable assignment.
Become a Member to join the conversation.