WEBVTT 00:00.760 --> 00:03.930 Come back guys and I'm back on my bike and come on line. 00:04.130 --> 00:06.750 So now let's talk about input stickpin. 00:06.950 --> 00:08.940 We have talk about how good these players are. 00:08.960 --> 00:14.170 We have talkable output street men using pring and we have also done some formatting. 00:14.390 --> 00:17.660 But now you do understand how be input from user. 00:17.840 --> 00:20.900 So by to employ building input function. 00:20.930 --> 00:25.760 So this function can take values from keyboard and don't the string. 00:25.880 --> 00:27.600 So let me take an example. 00:27.740 --> 00:36.980 If I take a variable maybe my name as you should i can use the input function that is input and then 00:37.030 --> 00:39.880 the appendices and I quite click enter. 00:41.690 --> 00:45.790 Now here you can see this cursor is asking something. 00:45.830 --> 00:51.590 It is waiting for me to give input and if I get input Shivam and press enter. 00:51.590 --> 00:59.260 Now the value that I've entered is assigned to the variable my name and if I want to bring that all 00:59.270 --> 01:01.920 up to do is bring my video. 01:02.360 --> 01:04.130 And you can see I've got the result. 01:04.310 --> 01:11.790 So what is happening here is I don't put that input is now assigned to my variable because I stored 01:11.810 --> 01:13.430 that particular input. 01:13.730 --> 01:20.690 Maybe I need to print something because it was quite blind and I was not aware because when I use my 01:20.690 --> 01:28.290 input method you get NO IDEA WHAT I NEED TO BLOCK And so I need to enter some Then you may be Shavon 01:28.300 --> 01:30.540 on me and then you get followed. 01:30.680 --> 01:34.700 So what I can do is I can write a statement that enter your name. 01:34.730 --> 01:42.860 So for that all you have to do is call input function and then you can pass an argument so I can BOCES 01:43.100 --> 01:51.170 waters your me and if I do that now whatever value I enter will be stored in my new med.. 01:51.350 --> 01:56.930 And it would be quite easy for you to understand because I've got an indication that what is your name. 01:56.930 --> 02:01.720 Now I know that I have to enter something and if I do that it's there. 02:01.820 --> 02:03.640 I never open the variable in my name. 02:03.650 --> 02:04.730 You will get the result. 02:04.760 --> 02:07.910 So this is quite important for you to understand that in part. 02:08.130 --> 02:11.010 But these results are always interesting. 02:11.150 --> 02:17.840 So if I ask each now I need to encourage indeed and if I tried to print it you know. 02:17.930 --> 02:20.330 But we need to check what is the type of test. 02:20.510 --> 02:23.160 And if I check that you can see it string. 02:23.330 --> 02:28.980 So if I'm entering the number it should be I can do that also. 02:29.000 --> 02:32.650 Let me clear up the screen and just follow that up in India. 02:32.970 --> 02:39.890 So I'd be IJ if I enter grindy and try to bring this ij. 02:39.950 --> 02:45.080 Now the result is in string I can use type function and then pass the variable. 02:45.260 --> 02:46.510 So it is a string. 02:46.780 --> 02:53.540 And what if I need to convert this in to our Inner Teacher for that I can use typecasting after you 02:53.540 --> 02:59.100 know that I have and I have learned there are different type of functions that are available. 02:59.210 --> 03:05.010 And if I pass this particular variable in that function it will be converted into here. 03:05.030 --> 03:12.900 So what I can do is I can use a new variable that is in page and I can use my information. 03:13.010 --> 03:16.180 And inside that I can pass my already will. 03:16.220 --> 03:25.220 That is my age and if I do that here in my invariable my images into India I never tried to check that 03:25.220 --> 03:29.540 study will get information but I think it's too long. 03:29.720 --> 03:35.780 So what you can do is you can just dig EJ You can dig the input and work you can do is just statically 03:35.780 --> 03:40.020 parse this whole thing into any function as a bottom up. 03:40.070 --> 03:41.400 If I did that. 03:41.540 --> 03:44.690 So this whole thing would be converted into integer. 03:44.690 --> 03:51.390 So whatever we are going to put inside this what is your age import it what we can model as and if I 03:51.400 --> 04:01.850 present to give my age and if I try to print this I get a 20 if I tried to kick it stype I get and so 04:01.850 --> 04:03.910 that I can decrease the line or. 04:04.210 --> 04:11.000 Now no hope of being in for how to can more than that is how to bypass them using function as in using 04:11.000 --> 04:12.310 functional flow. 04:12.350 --> 04:17.100 And you can convert from string to flow off to India whatever you want. 04:17.330 --> 04:20.240 So in the next little order to something more with Piatt on.