1 00:00:00,530 --> 00:00:01,290 So forever. 2 00:00:01,340 --> 00:00:03,590 We we're talking about user input. 3 00:00:03,740 --> 00:00:08,770 So you sometimes user input is needed for the application to behave differently. 4 00:00:08,820 --> 00:00:11,440 So to execute dynamic. 5 00:00:13,160 --> 00:00:18,350 This is the in government and this is the Maldivian government. 6 00:00:18,650 --> 00:00:20,200 That is far worse. 7 00:00:20,210 --> 00:00:23,150 Let's start and start afresh. 8 00:00:23,450 --> 00:00:27,710 The content in between these is treated as a comment. 9 00:00:28,760 --> 00:00:37,130 So again, you can see I have put this so far and you can see the remaining from this point, from the 10 00:00:37,130 --> 00:00:38,960 point became a comment. 11 00:00:39,620 --> 00:00:48,020 Now I can go and say this stance across the multi-layered comment, and you can also do something called 12 00:00:48,380 --> 00:00:49,040 radians. 13 00:00:49,430 --> 00:00:52,280 You can see within comments. 14 00:00:54,120 --> 00:00:59,550 And say and so this you use it to collapse the region, of course. 15 00:01:00,660 --> 00:01:04,440 Now, I can see here the miners say now I can just simply treat these miners. 16 00:01:04,680 --> 00:01:12,000 And here you can see the cord was collapsed and the this sales match space. 17 00:01:12,480 --> 00:01:14,100 We can remove these comments. 18 00:01:16,260 --> 00:01:19,650 And this code still executes. 19 00:01:20,190 --> 00:01:21,540 So it's definitely corrupt. 20 00:01:21,780 --> 00:01:26,610 If you run this, you get the output through. 21 00:01:28,050 --> 00:01:31,890 So let's talk about the user input. 22 00:01:34,030 --> 00:01:37,360 So we can take these and put using the concert art. 23 00:01:43,090 --> 00:01:47,560 You can store spring music to concert at Red Line. 24 00:01:47,860 --> 00:01:48,880 If you're on this one. 25 00:01:58,350 --> 00:02:00,330 Naomi's already defines. 26 00:02:04,310 --> 00:02:10,250 So if you go and run this one and here you can see the program has been stopped and waiting for the 27 00:02:10,250 --> 00:02:11,690 user to give any input. 28 00:02:12,200 --> 00:02:17,420 Now, we don't know what input the program wants, so that's why we'll write another print statement 29 00:02:18,590 --> 00:02:20,270 and your name. 30 00:02:23,700 --> 00:02:32,340 Now we can also say, right, so this law does not create a new right after this string. 31 00:02:38,800 --> 00:02:44,860 If you go and run this and here you can see the blinking, the castle blinking just right after this. 32 00:02:44,860 --> 00:02:49,990 And if you use red light, it will be here. 33 00:02:49,990 --> 00:02:53,110 And then right now we can use some name. 34 00:02:54,460 --> 00:02:57,940 And now program is waiting for the real key so we can. 35 00:03:00,590 --> 00:03:02,210 Or you can see we did not print the name. 36 00:03:02,210 --> 00:03:03,560 We can also print the name. 37 00:03:10,260 --> 00:03:19,730 Now we can see we are there, the output and we can also see how low pressure we get. 38 00:03:19,740 --> 00:03:21,540 This is going to spring concatenation. 39 00:03:22,710 --> 00:03:25,620 These are not integers, these are strings. 40 00:03:25,620 --> 00:03:27,900 So these strings will be attached. 41 00:03:27,990 --> 00:03:30,240 They can connected each other. 42 00:03:33,990 --> 00:03:37,700 So I wrote the novel and it is I don't know. 43 00:03:39,960 --> 00:03:45,060 Now you can also convert this into the digital. 44 00:03:46,670 --> 00:03:51,500 Let's also see another format that is we can put. 45 00:03:55,000 --> 00:03:55,390 This. 46 00:03:57,490 --> 00:03:57,780 Uh. 47 00:03:59,630 --> 00:04:04,140 But it's just a draw to determine this narrowing to this field. 48 00:04:04,160 --> 00:04:07,550 So these are like. 49 00:04:09,480 --> 00:04:10,590 String formatting. 50 00:04:11,160 --> 00:04:17,160 So it will allow you to put this way to wear them to the spring. 51 00:04:17,730 --> 00:04:20,250 So it's a neat format of this kind. 52 00:04:23,580 --> 00:04:27,300 And if you want another if you want to add some more. 53 00:04:31,760 --> 00:04:32,300 Values. 54 00:04:32,300 --> 00:04:36,380 You can put one and you can put two as well. 55 00:04:38,920 --> 00:04:42,520 Sort of go and ask for the. 56 00:04:46,870 --> 00:04:49,480 And you were already. 57 00:04:56,260 --> 00:04:56,650 Now. 58 00:04:56,860 --> 00:05:00,940 I want to read this. 59 00:05:02,980 --> 00:05:07,710 Now what we can do is we can convert DOD. 60 00:05:10,570 --> 00:05:12,400 So this will convert the. 61 00:05:14,560 --> 00:05:16,640 User input into the integer format. 62 00:05:19,660 --> 00:05:22,180 So let's say you recycle this one. 63 00:05:22,810 --> 00:05:27,010 Now I can put one here and reconsider it. 64 00:05:27,790 --> 00:05:36,670 So in the normal, if you don't use this format, what you want to do is you need to convert this number 65 00:05:36,670 --> 00:05:43,690 into the string format, uh, and then you need to use the press to print out of this. 66 00:05:43,690 --> 00:05:52,330 So it takes so much of space and it will be very tough if you have more than uh, uh, four or five 67 00:05:52,330 --> 00:05:52,780 values. 68 00:05:53,230 --> 00:05:59,200 So this will automatically convert the corresponding values into this format. 69 00:05:59,200 --> 00:06:01,960 So you don't need to worry about the conversion. 70 00:06:01,990 --> 00:06:09,580 Now, if you run this one, enter your name, it's a Texas name and my ID is 69, so you can see it. 71 00:06:09,730 --> 00:06:13,000 I have used the right line and now we can see a new line. 72 00:06:13,720 --> 00:06:18,700 And then now if I go into Denver, it is protected and my I.D.. 73 00:06:20,410 --> 00:06:28,780 So generally most in most cases now I can put can we consider the string depends on the application. 74 00:06:30,430 --> 00:06:33,790 So that's all for the reading input from the user.