Or not.
It is time for diplomatic strings.
So now let's bring this field.
OK, so what if I want to bring something and with variables and this can be changed?
OK, so follow me for now.
So I for example, and here I want to put a specific user and this user.
I don't need to hardcoded it.
I need it to be here.
So the user equal.
OK, Mark, for example.
OK, and it equal.
Twenty five, for example.
OK, so here it is, and I want sorry about this.
And I want I want to bring Mike, but you know that I can't put you up here because this is a variable,
right?
So how to do that?
Actually, we will use the formatted strings.
So I will put brackets like this and.
Your age is under formatted to bracket or two places now here, after I finish everything inside the
print function, I would put I would put that here and I would what format?
OK, and then I would open two brackets and put the first function.
Sorry.
The first variable and the second variable.
The first very bit high user which is the mike.
Another here, a list or comma, then what?
OK, so I like this, so let's see what will happen.
Here they are the screen.
Let's run.
Hi, Mike.
Your age is twenty five.
So if I return here.
Yes, hi Mike.
Your age is which is the age variable, which is twenty five.
By the way, I can go to your hardcoded value, but actually this doesn't make sense.
Right.
So I got a problem with my keyboard here, actually, so I can put Mike here and the twenty five for
you and it would work as well.
So to make sure it is working, that's what, twenty nine this time.
OK.
OK, let's test it out.
So hi Mike.
Your age is twenty nine which is working correctly.
All right.
Yeah.
By the way you can put your variable here immediately so if I type the format is a new user for example.
Equal with double quotation I'm doing this time and the edge here, so I would equal 35, for example.
OK, but now before we break this, we need to edit this video.
This time we will put the new user actually, and we would put the edge here as a new edge here or the
edge here, which is the this one.
So, yeah, let's save this first.
Then it's run it out.
You can see that high, John, your age is 35, which is the new values that we bought here.
OK, OK, one last thing.
So actually, what if we want to write something else?
So here inside the door, I don't need to put that.
I want just to use the user variable, which is.
The same province where and the age variable as with OK.
So, by the way, this is zero index and this is one index.
OK, so here inside the new user, if I type zero.
Let's delete the new user out of it.
So zero.
And if we hear inside instead of age, we want to delete and put one as well.
So let's check this out, actually.
So, yeah, let's debate, you can see.
Hello, Mike, your age is twenty five.
OK, so actually here if I thought this by but but zero here and if I bought one here.
So this would be inverted actually.
So if you can see that now high twenty five your age, is this should, is this, should that be high.
Twenty five your age is Michael as you can see.
So by doing that we are making sure that everything is actually as you can see, that we can just index
whatever we want in whatever we want.
All right.
Thanks for watching.
I will see you in the next.