1 00:00:00,680 --> 00:00:01,380 Or not. 2 00:00:01,460 --> 00:00:03,350 It is time for diplomatic strings. 3 00:00:03,860 --> 00:00:07,320 So now let's bring this field. 4 00:00:07,550 --> 00:00:16,180 OK, so what if I want to bring something and with variables and this can be changed? 5 00:00:16,220 --> 00:00:18,990 OK, so follow me for now. 6 00:00:19,010 --> 00:00:25,610 So I for example, and here I want to put a specific user and this user. 7 00:00:25,620 --> 00:00:27,500 I don't need to hardcoded it. 8 00:00:28,100 --> 00:00:29,590 I need it to be here. 9 00:00:29,780 --> 00:00:31,100 So the user equal. 10 00:00:31,490 --> 00:00:34,040 OK, Mark, for example. 11 00:00:34,310 --> 00:00:36,680 OK, and it equal. 12 00:00:38,000 --> 00:00:39,320 Twenty five, for example. 13 00:00:39,650 --> 00:00:44,030 OK, so here it is, and I want sorry about this. 14 00:00:45,130 --> 00:00:53,440 And I want I want to bring Mike, but you know that I can't put you up here because this is a variable, 15 00:00:53,590 --> 00:00:53,980 right? 16 00:00:54,320 --> 00:00:55,290 So how to do that? 17 00:00:55,300 --> 00:00:57,720 Actually, we will use the formatted strings. 18 00:00:57,730 --> 00:01:01,300 So I will put brackets like this and. 19 00:01:02,930 --> 00:01:12,110 Your age is under formatted to bracket or two places now here, after I finish everything inside the 20 00:01:12,110 --> 00:01:17,380 print function, I would put I would put that here and I would what format? 21 00:01:17,660 --> 00:01:22,910 OK, and then I would open two brackets and put the first function. 22 00:01:23,300 --> 00:01:23,630 Sorry. 23 00:01:23,630 --> 00:01:25,620 The first variable and the second variable. 24 00:01:25,640 --> 00:01:28,460 The first very bit high user which is the mike. 25 00:01:30,120 --> 00:01:33,250 Another here, a list or comma, then what? 26 00:01:33,910 --> 00:01:37,710 OK, so I like this, so let's see what will happen. 27 00:01:37,710 --> 00:01:39,720 Here they are the screen. 28 00:01:40,640 --> 00:01:41,170 Let's run. 29 00:01:41,580 --> 00:01:42,570 Hi, Mike. 30 00:01:42,710 --> 00:01:44,310 Your age is twenty five. 31 00:01:44,360 --> 00:01:45,490 So if I return here. 32 00:01:45,710 --> 00:01:46,850 Yes, hi Mike. 33 00:01:47,300 --> 00:01:50,880 Your age is which is the age variable, which is twenty five. 34 00:01:51,320 --> 00:01:56,990 By the way, I can go to your hardcoded value, but actually this doesn't make sense. 35 00:01:57,080 --> 00:01:57,470 Right. 36 00:01:59,460 --> 00:02:07,260 So I got a problem with my keyboard here, actually, so I can put Mike here and the twenty five for 37 00:02:07,260 --> 00:02:09,100 you and it would work as well. 38 00:02:09,120 --> 00:02:12,780 So to make sure it is working, that's what, twenty nine this time. 39 00:02:12,910 --> 00:02:13,280 OK. 40 00:02:14,250 --> 00:02:15,480 OK, let's test it out. 41 00:02:16,230 --> 00:02:17,580 So hi Mike. 42 00:02:17,580 --> 00:02:20,540 Your age is twenty nine which is working correctly. 43 00:02:20,890 --> 00:02:21,250 All right. 44 00:02:22,260 --> 00:02:22,530 Yeah. 45 00:02:22,530 --> 00:02:32,370 By the way you can put your variable here immediately so if I type the format is a new user for example. 46 00:02:33,400 --> 00:02:44,030 Equal with double quotation I'm doing this time and the edge here, so I would equal 35, for example. 47 00:02:44,260 --> 00:02:49,470 OK, but now before we break this, we need to edit this video. 48 00:02:49,510 --> 00:02:57,370 This time we will put the new user actually, and we would put the edge here as a new edge here or the 49 00:02:57,370 --> 00:03:00,010 edge here, which is the this one. 50 00:03:00,700 --> 00:03:03,250 So, yeah, let's save this first. 51 00:03:04,220 --> 00:03:06,070 Then it's run it out. 52 00:03:07,590 --> 00:03:13,090 You can see that high, John, your age is 35, which is the new values that we bought here. 53 00:03:13,310 --> 00:03:16,030 OK, OK, one last thing. 54 00:03:16,170 --> 00:03:21,620 So actually, what if we want to write something else? 55 00:03:21,630 --> 00:03:25,950 So here inside the door, I don't need to put that. 56 00:03:26,130 --> 00:03:29,280 I want just to use the user variable, which is. 57 00:03:30,230 --> 00:03:35,030 The same province where and the age variable as with OK. 58 00:03:36,120 --> 00:03:40,260 So, by the way, this is zero index and this is one index. 59 00:03:40,290 --> 00:03:43,800 OK, so here inside the new user, if I type zero. 60 00:03:45,600 --> 00:03:48,420 Let's delete the new user out of it. 61 00:03:50,790 --> 00:03:51,480 So zero. 62 00:03:53,140 --> 00:04:00,340 And if we hear inside instead of age, we want to delete and put one as well. 63 00:04:00,400 --> 00:04:02,050 So let's check this out, actually. 64 00:04:04,170 --> 00:04:07,250 So, yeah, let's debate, you can see. 65 00:04:07,290 --> 00:04:10,030 Hello, Mike, your age is twenty five. 66 00:04:10,900 --> 00:04:21,590 OK, so actually here if I thought this by but but zero here and if I bought one here. 67 00:04:21,750 --> 00:04:24,230 So this would be inverted actually. 68 00:04:24,360 --> 00:04:32,430 So if you can see that now high twenty five your age, is this should, is this, should that be high. 69 00:04:32,430 --> 00:04:34,520 Twenty five your age is Michael as you can see. 70 00:04:34,740 --> 00:04:42,750 So by doing that we are making sure that everything is actually as you can see, that we can just index 71 00:04:42,990 --> 00:04:45,900 whatever we want in whatever we want. 72 00:04:46,710 --> 00:04:47,220 All right. 73 00:04:47,580 --> 00:04:48,390 Thanks for watching. 74 00:04:48,440 --> 00:04:49,290 I will see you in the next.