WEBVTT 00:01.280 --> 00:08.980 Sometimes we need to make a sentence from some other information. 00:09.020 --> 00:11.470 This is where we use format method. 00:15.560 --> 00:18.320 You have two variables. 00:18.320 --> 00:24.920 First name people first name. 00:25.430 --> 00:25.850 Name 00:30.190 --> 00:33.060 and you could say rank. 00:33.270 --> 00:35.550 My first name 00:39.090 --> 00:39.480 is 00:43.950 --> 00:44.260 0 00:47.000 --> 00:51.870 and last name is 1 00:56.890 --> 00:59.850 2 the former. 01:01.310 --> 01:06.080 We specify these two variables substitute. 01:06.370 --> 01:13.630 These were loose like format was between comma lost 01:16.790 --> 01:25.410 so the format method will substitute first name with this specification zero. 01:27.030 --> 01:27.920 And last name. 01:27.940 --> 01:28.240 What. 01:28.260 --> 01:29.600 This is specification 1. 01:31.740 --> 01:34.910 Let's just see 01:43.160 --> 01:45.080 or cut 01:56.600 --> 01:57.790 again also. 01:57.890 --> 02:02.710 Namely better meters like we can see 02:05.430 --> 02:09.980 first name lost to me 02:13.460 --> 02:23.800 and this first name is equal to forced me which is our barometer which is our variable 02:28.000 --> 02:29.030 last. 02:31.280 --> 02:33.260 This will give the same 02:39.260 --> 02:44.120 button three point six introduced a shorter way to do this 02:46.770 --> 02:51.090 like instead of specifying this 02:54.510 --> 02:57.030 just type F 03:01.380 --> 03:01.810 scale. 03:08.340 --> 03:12.410 These were some examples of how to use format method.