‫Welcome back.
‫I want to quickly talk about something called augmented.
‫Assignment.
‫Operator.
‫So we've learned that we can create variables like some value.
‫And we can assign it.
‫A data type.
‫In our case, let's just assign it five.
‫There's something called augmented assignment operator that allows us to do something quite neat.
‫Let's have a look.
‫So if this value I want to increase it, let's say five plus two.
‫So add two to it.
‫I could do that.
‫Or I could even use some value, which is already five by the time it gets to line three and do something
‫like this if I print.
‫Some value and I click run, I'll get seven because five plus two equals to seven.
‫So in memory, some value points to seven.
‫But there's a neater way of doing this called augmented assignment operator.
‫Instead of doing something like this.
‫I could just simply.
‫Add a plus to the equals.
‫So we're going to say some value plus equals two is still going to equal seven.
‫So it's the same thing as before.
‫And this skull augmented assignment operator, it's a shorthand of us doing something like this.
‫We can also change this to something like minus, which once again is like subtracting two from whatever
‫the previous value of.
‫Some value was.
‫Now, if I was to do this at the beginning here, so let's just do here and then comment this out.
‫And if I click Run.
‫I'll get an error because some value is not defined.
‫We haven't really created anything.
‫So in order for this to work, we need to make sure that this variable has some previous value.
‫So we've learned about the plus, the minus, and then finally we have the multiply.
‫Once again, if I run this, we get ten.
‫Remember, this is just the same as us saying some value times to.
‫It's just a shorthand form.
‫All right.
‫This was a quick video in case you see something like this in the wild.
‫Now, you shouldn't be afraid.
‫Remember that the operator comes to the left of the equal sign.
‫I'll see in the next one.
‫Bye bye.