One of the most fundamental concepts that you need to know in Python is something called a variable
a variable.
Essentially points to a place holder in memory.
Think of this as kind of like a cookie jar or something that you store value in a value is going to
be stored in a location in a computer's memory and you're going to refer to that location via a variable
in this example I've got to put two running in a June 23 topology.
Don't worry about that.
Just note that I'm going to start python on the Ubuntu computer.
And then what I'm gonna do is create a variable called a not a great naming convention but there you
go and I'm gonna specify a value of five I can use I.D. to see the memory location of that variable
so that memory location which is not easy to work with it's easier to work with the values such as A
or something better like root a one or some kind of reference has the value 5 stored in it so notice
5 displays 5 a displaced 5 because A is pointing to a location in memory where 5 is contained and that
memory allocation is that be all set to 7.
So if I type Ida B I can see the memory allocation of B let's create another variable C and I'll set
C equal to A plus B C's memory location is this but the value of C is twelve so a variable is a basic
building block in Python that you need to know just think of it as referencing a part of computer memory
where I've stored a value I can change the value of variables so notice previously a were stored in
this memory location but if I say A equals one two three now and then I look at the memory location
of a notice it's changed the value one two three is now stored in a different part of the computer's
memory make sure that you know what variables are they are again a fundamental building block in Python.