1
00:00:02,010 --> 00:00:08,610
What's up everybody in this exciting episode we're going to talk about variable's operators and a little

2
00:00:08,610 --> 00:00:09,990
bit about how computers work.

3
00:00:09,990 --> 00:00:14,610
Now this is not a theoretical course but I do want you to understand some of the basic principles that

4
00:00:14,610 --> 00:00:18,530
are happening underneath the hood so you can have a foundation to build upon.

5
00:00:18,540 --> 00:00:22,440
And of course you're going to want to learn these things at some point in time anyway and dive deeper

6
00:00:22,440 --> 00:00:23,370
into them.

7
00:00:23,370 --> 00:00:24,920
So let's go ahead and get started.

8
00:00:24,930 --> 00:00:30,090
The first thing I want to do is talk about variables so go ahead and pull up in a browser here and we're

9
00:00:30,090 --> 00:00:34,410
going to say what is a variable in programming.

10
00:00:34,410 --> 00:00:40,110
Common question popped right up and we're going to do this one right here launch schoolbooks Ruby read

11
00:00:40,110 --> 00:00:40,590
variables.

12
00:00:40,590 --> 00:00:42,060
What is a variable.

13
00:00:42,060 --> 00:00:46,370
Variables are used to store information to be referenced and manipulated in a computer program.

14
00:00:46,380 --> 00:00:47,710
That's a good definition.

15
00:00:47,730 --> 00:00:51,330
They also provide a way of labeling data with a descriptive name.

16
00:00:51,330 --> 00:00:55,590
So our programs can be understood more clearly by the reader and ourselves.

17
00:00:55,710 --> 00:01:01,510
It is helpful to think of variables as containers as a keyword as containers that hold information.

18
00:01:01,560 --> 00:01:05,250
Their sole purpose is to label and store data in memory.

19
00:01:05,250 --> 00:01:08,080
This data can then be used throughout your program.

20
00:01:08,100 --> 00:01:10,280
OK so they're like a container that can hold data.

21
00:01:10,500 --> 00:01:12,400
Well what does that even mean.

22
00:01:12,600 --> 00:01:17,820
Well let's think about what's going on under the hood here and he'll hold my Photoshop here for you.

23
00:01:21,060 --> 00:01:24,800
Or you go and what does that mean.

24
00:01:24,840 --> 00:01:26,370
Get my pen.

25
00:01:26,370 --> 00:01:27,480
So let's say

26
00:01:30,430 --> 00:01:33,950
you've got your RAM and your computer.

27
00:01:33,950 --> 00:01:37,780
Ok this is your rim you know.

28
00:01:38,010 --> 00:01:43,110
You know how when you're like I need to upgrade my RAM my computer needs to go faster.

29
00:01:43,150 --> 00:01:46,810
You know you've heard somebody say that and you don't really you don't really know what it means or

30
00:01:46,810 --> 00:01:50,080
you just say it and say well we have more RAM means a faster computer.

31
00:01:50,080 --> 00:01:51,000
Well what does that even mean.

32
00:01:51,040 --> 00:01:55,600
You know ram ram What has that to do with variable swell.

33
00:01:55,600 --> 00:01:59,200
RAM is random access memory random.

34
00:01:59,200 --> 00:02:04,300
So it means that things are going to be stored and it randomly accessed and retrieved and things will

35
00:02:04,300 --> 00:02:05,160
be cleared out of it.

36
00:02:05,200 --> 00:02:10,820
OK so what happens is when you create a variable which you haven't seen yet but when you create a variable

37
00:02:11,260 --> 00:02:16,840
OK it is representing data that has been stored in a memory location.

38
00:02:16,840 --> 00:02:19,080
So let's say we've got a number.

39
00:02:19,340 --> 00:02:20,200
OK.

40
00:02:20,470 --> 00:02:22,720
Like the number 23.

41
00:02:22,750 --> 00:02:23,630
OK.

42
00:02:23,710 --> 00:02:28,060
And I don't know what the binary value of this but a computer is read zeros and ones.

43
00:02:28,060 --> 00:02:28,830
True or false.

44
00:02:28,840 --> 00:02:35,230
You know so this is all pretend but you know let's say this was 0 1 0 0 0 1 0.

45
00:02:35,230 --> 00:02:40,460
Again that's not the right value for that I could look it up online I can do it in my head sorry.

46
00:02:40,470 --> 00:02:43,410
Anyway so this is kind of hard to remember right.

47
00:02:43,510 --> 00:02:47,080
Do you do you can remember binary for every single thing that needs to happen in your program.

48
00:02:47,080 --> 00:02:48,080
Probably not.

49
00:02:48,370 --> 00:02:50,680
So what happens is we use variables.

50
00:02:50,740 --> 00:02:52,220
And so we say oh 23.

51
00:02:52,300 --> 00:02:56,600
Well let's let's say this variable's name is age.

52
00:02:56,620 --> 00:03:01,500
Age is a lot easier to remember than you know 0 1 0 0 0 0 1 0 right.

53
00:03:01,510 --> 00:03:06,820
So we give a variable a name and it has a value OK a name.

54
00:03:06,820 --> 00:03:08,480
So the container the value.

55
00:03:08,710 --> 00:03:12,520
And this is stored in a memory location somewhere and who knows what that is.

56
00:03:12,520 --> 00:03:14,550
You know x 1 0.

57
00:03:14,580 --> 00:03:21,040
You know whatever because some random access memory location in your program stores it in there and

58
00:03:21,040 --> 00:03:25,060
then when it needs it let's say you have a calculator app OK and you type in a number will stores a

59
00:03:25,060 --> 00:03:29,530
variable somewhere in your in your app which goes onto your RAM and it's stored there.

60
00:03:29,530 --> 00:03:30,960
And then when you clear it out maybe it's gone.

61
00:03:30,970 --> 00:03:33,510
You don't need any more so then it's clear now to your memory.

62
00:03:33,690 --> 00:03:34,400
OK.

63
00:03:34,600 --> 00:03:39,190
So when somebody says oh I need to upgrade my computer get more RAM so my programs can run faster.

64
00:03:39,190 --> 00:03:43,760
What that really means is you may have multiple programs.

65
00:03:43,770 --> 00:03:44,170
OK.

66
00:03:45,270 --> 00:03:47,340
Say this is photoshop.

67
00:03:47,370 --> 00:03:53,890
OK let's say this is X code let's say this is Android studio.

68
00:03:54,070 --> 00:03:56,040
OK well all of these.

69
00:03:56,480 --> 00:03:59,470
OK all these programs they need spots in memory.

70
00:03:59,730 --> 00:04:03,180
So the more memory you have the more variables you can store in the faster they're going to run because

71
00:04:03,570 --> 00:04:07,320
if you don't have enough what's going to happen is they're going to go in there and they're going to

72
00:04:07,320 --> 00:04:08,300
go on a waitlist.

73
00:04:08,380 --> 00:04:10,950
You can't go in until memory is cleared out.

74
00:04:10,950 --> 00:04:12,290
So it's going to be in a waitlist.

75
00:04:12,360 --> 00:04:17,090
So if you ever loaded a program and it's like loading and taking forever you're like what's going on.

76
00:04:17,130 --> 00:04:22,710
Well it could be that you don't have enough RAM and all these programs are trying to save data in your

77
00:04:22,710 --> 00:04:25,980
random access memory and it can't because there's not enough space.

78
00:04:25,980 --> 00:04:29,530
OK so a variables a container that has a value of some kind.

79
00:04:29,850 --> 00:04:36,420
And the container references a point in memory a memory location and it helps us to write readable code

80
00:04:36,450 --> 00:04:41,310
so we don't have to do things like this so we don't have to understand this kind of stuff because I

81
00:04:41,310 --> 00:04:42,620
surely can't understand it.

82
00:04:42,840 --> 00:04:46,530
So that's kind of how computers work with variables and applications they store data.

83
00:04:46,560 --> 00:04:52,620
They retrieve data but you get to use readable variables appear at the top that will make your life

84
00:04:52,710 --> 00:04:55,400
much easier than having to remember anything else.

85
00:04:55,550 --> 00:04:55,990
OK.

86
00:04:56,250 --> 00:05:00,170
So it's variables in a nutshell and I'm going to close out now.

87
00:05:01,630 --> 00:05:03,190
So we've talked about variables.

88
00:05:03,620 --> 00:05:05,020
Well let's show you what a variable actually is.

89
00:05:05,020 --> 00:05:14,940
Go ahead and open up your X code x go to it and we're going to go ahead and get started with a playground.

90
00:05:15,070 --> 00:05:22,390
I'm going to call this variable's and let's store this in the folder.

91
00:05:22,550 --> 00:05:27,250
Oh great new folder called variables and create

92
00:05:30,020 --> 00:05:36,140
so by default your playground your ex-coach playground will actually give you a variable inheritance

93
00:05:37,130 --> 00:05:40,110
bar Guevara's short for variable.

94
00:05:40,110 --> 00:05:42,290
You're telling the program hey this is a variable.

95
00:05:42,320 --> 00:05:45,100
It's a container that I want to put data in.

96
00:05:45,530 --> 00:05:46,330
And what's this.

97
00:05:46,340 --> 00:05:49,250
This is the name we can call this whatever we want.

98
00:05:49,250 --> 00:05:53,260
There are some things that are aren't allowed.

99
00:05:54,430 --> 00:05:56,510
We can't put numbers in the front of a variable name.

100
00:05:56,660 --> 00:05:57,020
OK.

101
00:05:57,050 --> 00:06:00,700
But you can use words and then number like day 1 you can do things like that.

102
00:06:00,710 --> 00:06:03,500
But in our case we want to write the word message.

103
00:06:03,560 --> 00:06:05,890
Variables should always be descriptive.

104
00:06:05,930 --> 00:06:07,640
They should be descriptive.

105
00:06:07,640 --> 00:06:10,210
They should tell you what's being stored in there.

106
00:06:10,370 --> 00:06:15,620
And then we're storing some words and this is called a string specifically when there's two quotes.

107
00:06:15,650 --> 00:06:17,140
That is called a string.

108
00:06:17,150 --> 00:06:21,020
And the key term if you're really interested is a string literal.

109
00:06:21,020 --> 00:06:24,930
This is a string literal that is being created right here on the fly.

110
00:06:25,100 --> 00:06:30,170
And it says hello playground and the playground is kindly printing this up to the screen for us.

111
00:06:30,170 --> 00:06:36,390
So this is your very first variable and this is a string so the data type is a string characters words.

112
00:06:36,620 --> 00:06:41,870
And this is being stored in the variable and then underneath the hood when your program is running this

113
00:06:42,320 --> 00:06:43,370
will actually even right now.

114
00:06:43,370 --> 00:06:48,020
This program is running on our Mac and so this is actually being stored.

115
00:06:48,230 --> 00:06:53,700
This is being stored in the memory on the computer somewhere which is pretty cool.

116
00:06:53,750 --> 00:06:54,860
I think it's cool.

117
00:06:54,920 --> 00:07:00,830
And so that's happening for us automatically and maybe you're wondering up here what is import you like

118
00:07:00,830 --> 00:07:01,290
it.

119
00:07:01,490 --> 00:07:04,760
Well import means somebody else wrote a lot of code for us.

120
00:07:04,760 --> 00:07:10,240
In this case Apple There are a lot of code and we're importing it so we can use it.

121
00:07:10,250 --> 00:07:16,040
So you let's just use the cool features of iOS like views and pop ups and screens and view controllers

122
00:07:16,490 --> 00:07:20,910
and that's all included here inside of this a bunch of code that they wrote and we're bringing it in.

123
00:07:20,930 --> 00:07:27,230
It also includes a framework called Foundation which includes Swift which lets us do things like this

124
00:07:27,640 --> 00:07:31,250
which is pretty cool so that your very first variable will give it a descriptive name.

125
00:07:31,250 --> 00:07:37,640
We started it off with a keyword specifying var and then we said hello playground variables can be changed.

126
00:07:37,940 --> 00:07:38,510
OK.

127
00:07:38,670 --> 00:07:39,890
Areas can be changed.

128
00:07:39,950 --> 00:07:43,780
Whereas something called a constant cannot say very very well.

129
00:07:43,780 --> 00:07:45,900
We change as many times as you want though.

130
00:07:53,100 --> 00:07:56,970
And the other thing is that we didn't cover was this the equal sign.

131
00:07:56,970 --> 00:08:01,830
This is called an assignment operator and that's the keyword if you want to write that down as the assignment

132
00:08:01,860 --> 00:08:02,620
operator.

133
00:08:02,910 --> 00:08:09,240
And what the assignment operator does is it assigns a value from the right hand side into something

134
00:08:09,250 --> 00:08:10,460
on the left hand side.

135
00:08:10,500 --> 00:08:11,620
Typically a variable.

136
00:08:11,670 --> 00:08:15,990
So that means we are taking something over here and we are putting it over here.

137
00:08:16,100 --> 00:08:16,400
OK.

138
00:08:16,410 --> 00:08:17,950
The assignment operator.

139
00:08:18,270 --> 00:08:20,280
So a song about operators for a minute.

140
00:08:20,310 --> 00:08:21,840
We've talked about variables and how they work.

141
00:08:21,840 --> 00:08:23,880
Let's talk about operators.

142
00:08:24,660 --> 00:08:29,660
So there are three types of operators in swift or most languages anyway.

143
00:08:29,730 --> 00:08:30,120
So

144
00:08:33,660 --> 00:08:40,050
there are very binary and ternary.

145
00:08:40,200 --> 00:08:41,250
What does that even mean.

146
00:08:41,280 --> 00:08:43,050
That is a very good question.

147
00:08:44,110 --> 00:08:47,470
Ternary operator only works on one target.

148
00:08:47,470 --> 00:08:54,900
So if you look at this right here OK this is a urinary operator.

149
00:08:54,900 --> 00:08:57,420
No it's actually a binary because it works on two.

150
00:08:57,420 --> 00:08:59,170
And look at the keyword or the prefix here.

151
00:08:59,170 --> 00:09:01,540
By no means two.

152
00:09:01,650 --> 00:09:06,100
OK so this works on two so this is a binary but what is a urinary.

153
00:09:06,180 --> 00:09:08,340
Are your urinary works on a single operator.

154
00:09:08,650 --> 00:09:17,800
And so for instance you can have a variable that's called a boolean So you know am I cool.

155
00:09:17,830 --> 00:09:20,400
This is a variable called emic cool.

156
00:09:20,560 --> 00:09:23,110
And we're going to say equals true.

157
00:09:23,560 --> 00:09:24,070
OK.

158
00:09:24,140 --> 00:09:25,570
That's pretty cool.

159
00:09:25,990 --> 00:09:26,850
I'm cool.

160
00:09:27,010 --> 00:09:33,460
But you know then some new phase or fad comes out and new clothes and I haven't upgraded yet.

161
00:09:33,520 --> 00:09:35,060
So now I'm uncool.

162
00:09:35,170 --> 00:09:38,970
Well we can use a urinary prefix operator.

163
00:09:39,010 --> 00:09:47,200
You can write that down the generic prefix operator and we can say well we can say Am I cool equals

164
00:09:47,560 --> 00:09:49,390
not am I.

165
00:09:49,390 --> 00:09:49,840
Cool.

166
00:09:49,840 --> 00:09:52,250
So the opposite of what I am.

167
00:09:52,480 --> 00:09:56,130
So right here is this operating on one target or two targets.

168
00:09:56,170 --> 00:09:58,980
Well it's only operating on one target this one right here.

169
00:09:58,990 --> 00:10:03,070
So this is a urinary OPERATOR You know you'd like unicycle.

170
00:10:03,140 --> 00:10:04,870
Ok one.

171
00:10:04,990 --> 00:10:09,060
So what we're saying here is am I cool that's true.

172
00:10:09,090 --> 00:10:10,400
We're saying the opposite.

173
00:10:10,410 --> 00:10:12,870
Not Am I cool so we're saying false.

174
00:10:13,050 --> 00:10:14,750
And then we're shoving it back into here.

175
00:10:14,760 --> 00:10:16,440
So now my cool is false.

176
00:10:16,440 --> 00:10:19,550
I'm no longer cool because some new fad came out.

177
00:10:19,560 --> 00:10:26,340
You know maybe back in the day like in 2006 when Paris Hilton like put on this big huge aviator sunglasses

178
00:10:26,370 --> 00:10:30,900
and before that no one had seen those since like the 70s and then all of a sudden every girl on the

179
00:10:30,900 --> 00:10:34,790
street in the world like within one week had big aviator glasses.

180
00:10:34,800 --> 00:10:35,310
OK.

181
00:10:35,490 --> 00:10:39,600
So if you didn't have them you're uncool just like I'm cool here because this new thing came out and

182
00:10:39,600 --> 00:10:40,410
I didn't adopt it.

183
00:10:40,410 --> 00:10:42,790
So you're Neriah Hey operates on one target.

184
00:10:42,930 --> 00:10:47,170
Binary operates on two targets OK a left and right.

185
00:10:47,370 --> 00:10:49,190
As you can see right there.

186
00:10:49,380 --> 00:10:51,940
And when you're programming you're not going to use these terms.

187
00:10:52,020 --> 00:10:56,550
But if you're going for an interview or something like that they may bring these up and ask you to define

188
00:10:56,550 --> 00:10:58,780
them so it's good to know good stuff to know.

189
00:10:59,800 --> 00:11:07,540
Actually a ternary operator works on three objects and in swift There are only there's only one ternary

190
00:11:07,900 --> 00:11:08,520
operator.

191
00:11:08,530 --> 00:11:10,170
And I'll show you the syntax you'll use.

192
00:11:10,170 --> 00:11:14,360
As you become a more advanced programmer but let's just show you for sake of completeness.

193
00:11:14,490 --> 00:11:17,020
Again you don't have to memorize all this this is just an overview.

194
00:11:17,020 --> 00:11:22,360
So what we can do here is let's see here

195
00:11:25,870 --> 00:11:32,000
we have another variable called feel good about myself.

196
00:11:32,290 --> 00:11:32,960
OK.

197
00:11:33,250 --> 00:11:34,020
Feel good about myself.

198
00:11:34,030 --> 00:11:35,290
Equals true.

199
00:11:35,530 --> 00:11:38,880
So that's a variable of type Boolean.

200
00:11:38,950 --> 00:11:41,260
OK to bully and type which we'll talk about later.

201
00:11:41,260 --> 00:11:45,030
And we're storing true into this container here this variable.

202
00:11:45,070 --> 00:11:46,790
So let's do a ternary operator.

203
00:11:46,810 --> 00:11:47,870
Just for fun.

204
00:11:48,090 --> 00:11:48,690
OK.

205
00:11:48,940 --> 00:11:51,500
So feel good about myself.

206
00:11:51,790 --> 00:11:55,520
Equals and we're going to say Am I cool.

207
00:11:55,540 --> 00:11:57,290
So if I am cool.

208
00:11:57,450 --> 00:11:57,870
OK.

209
00:11:57,880 --> 00:12:01,640
Question mark if I'm cool then feel good.

210
00:12:01,650 --> 00:12:03,420
All right then.

211
00:12:04,030 --> 00:12:05,740
True otherwise false.

212
00:12:05,740 --> 00:12:07,090
That's what we want to do.

213
00:12:07,640 --> 00:12:09,100
Maybe you're thinking what's going on here.

214
00:12:09,100 --> 00:12:12,730
This is so confusing and you shouldn't be confused if you're absolutely new to programming.

215
00:12:12,760 --> 00:12:13,590
Should that make any sense.

216
00:12:13,600 --> 00:12:18,730
But I'm showing you what a ternary operators with three targets are what this is saying is.

217
00:12:18,910 --> 00:12:21,660
So right now I feel good about myself right.

218
00:12:21,700 --> 00:12:21,980
Right.

219
00:12:22,000 --> 00:12:28,600
But then that new fad comes out and I'm not cool anymore so or doing here's are saying is this true

220
00:12:28,600 --> 00:12:29,510
or false.

221
00:12:29,650 --> 00:12:30,840
If this is true.

222
00:12:31,160 --> 00:12:31,440
OK.

223
00:12:31,450 --> 00:12:33,390
So that's what we're saying here with the question mark.

224
00:12:33,400 --> 00:12:38,350
If this is true then let's put True into feel good about myself because then I feel good about myself

225
00:12:38,350 --> 00:12:40,020
because I am cool.

226
00:12:40,220 --> 00:12:40,980
OK.

227
00:12:41,230 --> 00:12:51,190
And if I'm not cool otherwise false or I shove false into here and I no longer feel good about myself

228
00:12:51,450 --> 00:12:53,200
and I'm a very shallow person.

229
00:12:53,560 --> 00:13:02,620
So that's a turnaround operator because it works on three targets right here right here and right here.

230
00:13:02,620 --> 00:13:03,890
Does that make sense.

231
00:13:04,120 --> 00:13:09,400
Another example is just to show you the ternary operator over time without the true and false.

232
00:13:09,400 --> 00:13:17,680
Let's say I've got a variable called bank account balance equals let's say 100.

233
00:13:17,680 --> 00:13:24,830
And then what we'll do is we'll say bank account balance.

234
00:13:24,850 --> 00:13:28,640
Actually you know what we'll do is we'll save our mess.

235
00:13:29,020 --> 00:13:37,630
Bank message KTM cash register message cash register message.

236
00:13:37,660 --> 00:13:38,890
Let's say we want a message.

237
00:13:38,890 --> 00:13:41,260
We're going to print out to someone who wants to buy something at a store.

238
00:13:41,260 --> 00:13:41,650
Right.

239
00:13:41,650 --> 00:13:42,970
Cash register message.

240
00:13:42,970 --> 00:13:43,640
OK.

241
00:13:43,750 --> 00:13:50,170
So it's going to equal what we're going to do is we're going to say if a bank account balance is greater

242
00:13:50,170 --> 00:14:00,390
then greater than or equal to let's say 50 has a bank account balance is greater than or equal to 50.

243
00:14:00,420 --> 00:14:03,960
And these are logical operators which we haven't covered yet.

244
00:14:04,150 --> 00:14:06,230
If it's greater than or equal to 50.

245
00:14:06,430 --> 00:14:16,840
OK what we're going to do is we're going to say you just bought the item otherwise you are broke as

246
00:14:16,840 --> 00:14:18,060
a joke.

247
00:14:18,850 --> 00:14:19,340
OK.

248
00:14:19,540 --> 00:14:25,560
So what we're saying here is we run we run a check here we do a conditional statement.

249
00:14:25,570 --> 00:14:29,260
If your bank account balance is greater than or equal to 50 maybe this is a pair of shoes you're going

250
00:14:29,260 --> 00:14:32,290
to buy then here's the question mark.

251
00:14:32,300 --> 00:14:37,480
I we say you just bought this item so if this is true let's do this.

252
00:14:37,480 --> 00:14:40,050
Otherwise you are broke as a joke.

253
00:14:40,060 --> 00:14:45,340
So watch as I turn this item to $150 you're now broke as a joke.

254
00:14:45,340 --> 00:14:48,180
So this is again a ternary operator OK.

255
00:14:48,200 --> 00:14:50,050
There's three things happening here.

256
00:14:50,050 --> 00:14:54,900
One two and three trinary three.

257
00:14:54,940 --> 00:14:55,590
OK.

258
00:14:55,690 --> 00:14:57,740
And again this last one ternary.

259
00:14:57,750 --> 00:15:02,170
You use it less often you will use it though and you don't have to know right now if this is confusing

260
00:15:02,170 --> 00:15:02,430
at all.

261
00:15:02,430 --> 00:15:03,550
That's OK.

262
00:15:03,550 --> 00:15:05,230
This stuff takes time to get down.

263
00:15:05,350 --> 00:15:08,010
But that's a ternary operator.

264
00:15:08,040 --> 00:15:14,130
Other operators that will learn about later such as arithmetic operators that's a key word or key phrase

265
00:15:14,220 --> 00:15:18,640
arithmetic operators such as adding and subtracting and dividing.

266
00:15:18,660 --> 00:15:23,470
There's also a remainder operator for doing division and then getting the remainder of the result.

267
00:15:23,640 --> 00:15:28,200
Because division does not give you remainders things like that but we'll talk about that later.

268
00:15:28,230 --> 00:15:32,190
This was just a synopsis of how variables work what a variable is.

269
00:15:32,190 --> 00:15:38,580
We talked a little bit about your unary operators binary operators and ternary operators and you learned

270
00:15:38,580 --> 00:15:44,460
that you can create a container called a what if you said variable.

271
00:15:44,460 --> 00:15:45,430
That's right.

272
00:15:45,780 --> 00:15:51,420
And so you create a variable by starting with the Barkey word then you give the container a name message

273
00:15:51,480 --> 00:15:53,770
and then you can store a value into that.

274
00:15:53,940 --> 00:16:00,150
You know such as a string This is called a string of characters in words or a boolean true or false

275
00:16:00,450 --> 00:16:01,550
or a number even.

276
00:16:01,590 --> 00:16:07,290
You can assign in there using the assignment operator which is a binary operator because it works on

277
00:16:07,290 --> 00:16:08,690
two targets.

278
00:16:08,730 --> 00:16:13,150
And again this is a unitary operator because it works on one target.

279
00:16:13,150 --> 00:16:15,970
So cool stuff here.

280
00:16:16,020 --> 00:16:20,010
It's fun to learn about these things you should dig more into it go on the Internet and search about

281
00:16:20,010 --> 00:16:25,500
your operettas binary operators turn or go back to that Google search on what is a variable in programming

282
00:16:25,500 --> 00:16:27,370
it's important to know these things.

283
00:16:27,510 --> 00:16:32,010
And I'll always say that over and over again because you want to become a good programmer.

284
00:16:32,250 --> 00:16:33,690
So that's it for now.

285
00:16:33,690 --> 00:16:40,930
Mark Price of slopes dot com and we are putting the doors into a brand new world of magic and excite

286
00:16:42,990 --> 00:16:43,560
you later.
