1
00:00:00,060 --> 00:00:08,040
Because in this bill, we're going to discuss a topic called user input, so we have seen previous examples

2
00:00:08,040 --> 00:00:09,150
is equal to 10.

3
00:00:09,660 --> 00:00:14,460
But what if user wants to enter that a number, what he wants?

4
00:00:15,000 --> 00:00:19,720
So if I want to say 100, I cannot simply change one hundred every time in this group.

5
00:00:19,950 --> 00:00:23,790
So that will be some some time consuming task.

6
00:00:23,790 --> 00:00:23,980
Right.

7
00:00:24,270 --> 00:00:29,160
So what you can do is we can say it is equal to input.

8
00:00:30,360 --> 00:00:39,600
So whenever you or define this input function, then the python interpreter will ask for input and then

9
00:00:39,600 --> 00:00:40,880
it was stored in this year.

10
00:00:41,520 --> 00:00:46,080
So now let's sprint, you know, let's run the script.

11
00:00:50,100 --> 00:00:58,500
So here's my script is waiting for my input, so it seems like it has been struck, but it's not.

12
00:00:58,680 --> 00:01:00,490
It's waiting for our input.

13
00:01:00,520 --> 00:01:01,740
That's fifty.

14
00:01:02,820 --> 00:01:08,160
And if you had to enter your display, the what to help enter.

15
00:01:08,250 --> 00:01:12,030
So because we are storing it is not available yet and we are printing it.

16
00:01:12,330 --> 00:01:22,050
So now let's go ahead and bring that tape of this year so we could enter and do some variable number

17
00:01:22,050 --> 00:01:26,590
of different and it will say crusting, but we have no right.

18
00:01:26,610 --> 00:01:32,620
But because this input function by default, it will interpret anything as interesting.

19
00:01:33,120 --> 00:01:38,330
So if you want to convert this into integer, you need to set in enough.

20
00:01:39,240 --> 00:01:44,520
So first, the input function will ask for the user input if you type fifty.

21
00:01:44,850 --> 00:01:50,460
That will be stored as a sheet and then this function will convert the string into the integer.

22
00:01:50,880 --> 00:01:58,270
Now if you run this program and then it's 55 and then you see less of it.

23
00:01:58,290 --> 00:02:06,610
Now you can use this as a number and you can see this, uh, console is waiting for input.

24
00:02:06,810 --> 00:02:13,530
But to me, I have understood because I have seen this input function, what if any other person cannot,

25
00:02:13,600 --> 00:02:17,780
uh, understand if that does not see this input function?

26
00:02:17,790 --> 00:02:18,070
Right.

27
00:02:18,300 --> 00:02:22,810
So what we can do is we can, uh, specify the text it want to print.

28
00:02:23,250 --> 00:02:35,610
So I want to say and value value of it, if I would say recurrent, recurrent, that will be nice.

29
00:02:35,940 --> 00:02:37,610
And now if I run, this will run.

30
00:02:38,910 --> 00:02:43,970
Now it will be like a very neat Marinaro and it's asking for an of it.

31
00:02:44,610 --> 00:02:52,230
And, you know, the input function will restore this as a string and then this integer function itself

32
00:02:52,230 --> 00:02:54,450
will convert that string to define the number.

33
00:02:56,020 --> 00:02:59,940
Now, as you can see here, you've got the class integer.

34
00:03:02,600 --> 00:03:11,450
So this is the basic syntax of this input, function, input, and you take the input and you can convert

35
00:03:11,450 --> 00:03:12,650
it to whatever you want.

36
00:03:15,960 --> 00:03:19,020
So you can also do it as a float.

37
00:03:23,370 --> 00:03:33,810
So on this program, that's a four point five, six, as you can see across different outlets on this

38
00:03:33,810 --> 00:03:38,820
program and argue that in petrology no will Interpreters 5.0.

39
00:03:41,680 --> 00:03:50,080
So you can also specify the put off and under your name.

40
00:03:55,650 --> 00:04:03,030
And let me so one thing I want to show you the statement you can say, uh, hi.

41
00:04:06,050 --> 00:04:15,780
And you can join the POOHSTICKS, so this is the sting joining, which I forgot to say in the previous.

42
00:04:16,350 --> 00:04:22,520
So I'm going to tell you now, if you enter your name, it will store it in the real world and it will

43
00:04:22,520 --> 00:04:24,300
be I plus your name.

44
00:04:24,500 --> 00:04:26,000
So let me show you.

45
00:04:27,800 --> 00:04:37,760
Let me see a nickel and it's just high nickel because we are just joining this, uh, are posting so

46
00:04:37,760 --> 00:04:39,010
you can join the two things.

47
00:04:39,990 --> 00:04:45,320
OK, now I want to discuss this joining and multiplication of the things.

48
00:04:46,430 --> 00:04:49,460
And let's go to the previous, uh, this one.

49
00:04:49,460 --> 00:04:51,260
Shall we have to see.

50
00:04:52,340 --> 00:04:54,050
What I can do is express.

51
00:04:56,640 --> 00:05:04,440
So I can take my first name that is now set, and then I can just say process, so these two things

52
00:05:04,440 --> 00:05:05,560
will get concatenated.

53
00:05:05,930 --> 00:05:06,810
Now, if I now.

54
00:05:08,760 --> 00:05:13,130
So this is how you join two shrinks using the press operator.

55
00:05:13,500 --> 00:05:19,380
And if I say yes into two, um, because this is it will be repeated two times.

56
00:05:21,570 --> 00:05:24,770
So if we can see the steingarten.

57
00:05:31,330 --> 00:05:34,460
So you can also define another thing.

58
00:05:39,110 --> 00:05:50,660
First, to underscore the calls to Nagasaki and to underscore zikos to.

59
00:05:52,250 --> 00:05:56,840
Nicole, so if I want to join the fashion magazines in Bristol, Virginia.

60
00:06:00,800 --> 00:06:01,430
President.

61
00:06:04,420 --> 00:06:10,120
So I think at the end, you can also put the space in between this first and last name, so that's why

62
00:06:10,390 --> 00:06:15,160
the string joining now, I want another matter that is.

63
00:06:16,920 --> 00:06:24,090
OK, I'll cover that farmer matter in another video that will be very useful in a programming purpose,

64
00:06:24,600 --> 00:06:31,110
and you don't need to worry about the weather easting or any other way any other day today.

65
00:06:32,010 --> 00:06:34,580
So that's everybody's input, uh, function.

66
00:06:34,590 --> 00:06:38,900
This is input is used to take the input from the, uh, user.

67
00:06:39,480 --> 00:06:48,710
We can also can put that into r string or fruit to, uh, convert this, uh, input into this, uh,

68
00:06:48,840 --> 00:06:49,670
aspect to tape.

69
00:06:49,710 --> 00:06:51,200
So this is called a conversion.

70
00:06:52,290 --> 00:06:53,610
So I hope we have understood.

