1
00:00:00,150 --> 00:00:04,740
One of the most fundamental concepts that you need to know in Python is something called a variable

2
00:00:05,170 --> 00:00:06,130
a variable.

3
00:00:06,210 --> 00:00:09,720
Essentially points to a place holder in memory.

4
00:00:09,720 --> 00:00:16,350
Think of this as kind of like a cookie jar or something that you store value in a value is going to

5
00:00:16,350 --> 00:00:23,970
be stored in a location in a computer's memory and you're going to refer to that location via a variable

6
00:00:25,130 --> 00:00:29,410
in this example I've got to put two running in a June 23 topology.

7
00:00:29,420 --> 00:00:30,560
Don't worry about that.

8
00:00:30,710 --> 00:00:35,950
Just note that I'm going to start python on the Ubuntu computer.

9
00:00:36,080 --> 00:00:41,570
And then what I'm gonna do is create a variable called a not a great naming convention but there you

10
00:00:41,570 --> 00:00:50,960
go and I'm gonna specify a value of five I can use I.D. to see the memory location of that variable

11
00:00:51,470 --> 00:00:58,240
so that memory location which is not easy to work with it's easier to work with the values such as A

12
00:00:58,250 --> 00:01:06,890
or something better like root a one or some kind of reference has the value 5 stored in it so notice

13
00:01:06,910 --> 00:01:16,600
5 displays 5 a displaced 5 because A is pointing to a location in memory where 5 is contained and that

14
00:01:16,600 --> 00:01:20,540
memory allocation is that be all set to 7.

15
00:01:21,100 --> 00:01:28,420
So if I type Ida B I can see the memory allocation of B let's create another variable C and I'll set

16
00:01:28,480 --> 00:01:40,690
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

17
00:01:40,690 --> 00:01:47,230
building block in Python that you need to know just think of it as referencing a part of computer memory

18
00:01:47,590 --> 00:01:56,080
where I've stored a value I can change the value of variables so notice previously a were stored in

19
00:01:56,080 --> 00:02:03,610
this memory location but if I say A equals one two three now and then I look at the memory location

20
00:02:03,610 --> 00:02:11,260
of a notice it's changed the value one two three is now stored in a different part of the computer's

21
00:02:11,260 --> 00:02:18,910
memory make sure that you know what variables are they are again a fundamental building block in Python.
