1 00:00:00,420 --> 00:00:05,790 So I think this will we're going to talk about this python variables so frustrating to find whatever 2 00:00:05,970 --> 00:00:14,750 is available is a memory, location and computer memory which holds the value of the value of it. 3 00:00:14,940 --> 00:00:16,100 No, in history. 4 00:00:16,560 --> 00:00:22,050 So it holds some value so that you can just use that value again in your code. 5 00:00:22,350 --> 00:00:31,110 So, again, first of all, let me show you a scenario where we need the variables so we are know country 6 00:00:31,110 --> 00:00:32,590 to do it by seven. 7 00:00:32,640 --> 00:00:32,860 Right? 8 00:00:32,940 --> 00:00:33,780 That is the pie. 9 00:00:33,930 --> 00:00:36,540 So this is the Dujon operator. 10 00:00:37,650 --> 00:00:41,930 And if you type 22 by seven and then you get the value of this. 11 00:00:42,630 --> 00:00:49,220 So what I can do is I can just sit by Ezequiel's to continue to buy. 12 00:00:50,760 --> 00:00:57,070 So now the pie is a variable and it stores the value of 22 by seven. 13 00:00:57,210 --> 00:01:01,820 So this is the assignment operator and we will see the operators in the next year. 14 00:01:02,220 --> 00:01:06,900 So for now we are just storing the value of the version in the variable. 15 00:01:07,260 --> 00:01:15,180 So whenever I take this well, you get prepared because despite will store the value of this one. 16 00:01:16,050 --> 00:01:19,420 So what this value of what is the use of the services? 17 00:01:19,650 --> 00:01:25,500 Whenever you want to find out the area of circular or you want to use this value again, you need to 18 00:01:25,500 --> 00:01:30,000 memorize, uh, this whole value through went on to exit and so on. 19 00:01:30,180 --> 00:01:32,070 So instead you can just slip by. 20 00:01:32,940 --> 00:01:39,990 And if you want to calculate the area of the circle, uh, perhaps you can just say this by instead 21 00:01:39,990 --> 00:01:49,950 of typing this one one four two and you can answer different or you can answer different or as five. 22 00:01:50,400 --> 00:01:51,830 So this is another variable. 23 00:01:51,990 --> 00:01:57,060 And to see what the variable type is, you can just type type of. 24 00:01:57,060 --> 00:02:05,640 Ah, so this file is called integer and distribution for these cultural fruiting points generally in 25 00:02:06,120 --> 00:02:07,710 the small part and the fractional part. 26 00:02:07,980 --> 00:02:13,440 So whenever you see some small patterns, fractional part, it is the floating point, no value and 27 00:02:13,440 --> 00:02:15,380 you can see the normal integer. 28 00:02:15,540 --> 00:02:18,270 It's a no no, it's a.. 29 00:02:18,370 --> 00:02:22,950 If you take a type of it will tell me class integer. 30 00:02:23,100 --> 00:02:27,210 So in Python everything is a cross and objects that will be a crisis. 31 00:02:27,450 --> 00:02:29,460 And this crisis represents something. 32 00:02:29,460 --> 00:02:31,230 And these objects are derivatives. 33 00:02:31,230 --> 00:02:32,040 Are those classes. 34 00:02:32,190 --> 00:02:38,720 They represent the exact, uh, syntax, exact members of the class. 35 00:02:38,730 --> 00:02:44,580 So we will see this class and objects in the object oriented programming will have concepts. 36 00:02:44,790 --> 00:02:45,960 So no need to worry about this. 37 00:02:45,960 --> 00:02:52,950 Just, um, keep in mind that this is there is an integer class and this art is the object of this integer, 38 00:02:52,950 --> 00:02:59,490 so that these are store integer values and there is no rule that R can only store the integer where 39 00:02:59,700 --> 00:03:02,970 you can assign it is equal to six point seven. 40 00:03:03,570 --> 00:03:04,650 Now that will be ascending. 41 00:03:04,800 --> 00:03:10,200 So if you come from any previous language, will you need to, uh, declare that the word is equals 42 00:03:10,230 --> 00:03:14,340 to uh, uh, you are two, three, four, etc. right there. 43 00:03:14,360 --> 00:03:22,770 So in other languages, you need to declare the type of this variable to be stored right into R equals 44 00:03:22,770 --> 00:03:24,100 to nine point nine. 45 00:03:24,570 --> 00:03:26,220 So you need nine tonight. 46 00:03:26,310 --> 00:03:30,390 So in today's version, I need to define like this in the other previous languages. 47 00:03:32,500 --> 00:03:38,830 In Python, you can just simply set out is equal to six point seven and it will take the type when it 48 00:03:38,830 --> 00:03:42,730 has been using for type type of hard. 49 00:03:44,470 --> 00:03:44,950 Now going. 50 00:03:46,930 --> 00:03:49,190 So that's our response to it. 51 00:03:49,930 --> 00:03:52,900 So now these are the integer and four defined values. 52 00:03:53,560 --> 00:04:01,780 Now let me multiply by eight into ah into ah so my definition of a star and you get the value Pyaar 53 00:04:01,780 --> 00:04:02,110 Square. 54 00:04:02,500 --> 00:04:07,510 And there is another, uh, uh, the tape that is true. 55 00:04:07,660 --> 00:04:13,210 And there are so many other types of apples and dictionaries, we will see them in a separate videos. 56 00:04:13,750 --> 00:04:21,430 So that means it name so we can assign the string name is going to be. 57 00:04:22,330 --> 00:04:25,220 So whenever I hit the name I that. 58 00:04:25,600 --> 00:04:28,780 You can also print these variables using the print statement. 59 00:04:30,710 --> 00:04:33,320 So you get the priority, all right. 60 00:04:34,990 --> 00:04:44,880 I know what I want to do is I want to see type of name, I want to say that I want this name and this 61 00:04:44,880 --> 00:04:49,970 is a string because this, uh, string is nothing but sequence of characters. 62 00:04:49,980 --> 00:04:51,780 But here we have only one character. 63 00:04:52,180 --> 00:04:56,460 Now, I can also say a name is equal to another. 64 00:04:56,760 --> 00:04:58,350 So I am Nicole. 65 00:04:59,900 --> 00:05:06,800 And now if you don't, then then this whole net will be stored in the name and we also see how to access 66 00:05:06,800 --> 00:05:12,290 only particular elements of the string or the rift in the future videos, that is, we're using this. 67 00:05:13,070 --> 00:05:17,060 So this if I a name, it will be nonsensical. 68 00:05:17,090 --> 00:05:21,390 Now, you can also take this type of name. 69 00:05:21,430 --> 00:05:22,280 It will be string. 70 00:05:24,890 --> 00:05:26,150 So that's about the. 71 00:05:27,140 --> 00:05:31,880 Uh, we have covered the food business and the. 72 00:05:32,540 --> 00:05:41,660 So these variables just hold some value so that you can use these variables separate instead of this 73 00:05:41,660 --> 00:05:48,830 long red number, so that you use other variables you can use anywhere in the code once you assign a 74 00:05:48,830 --> 00:05:49,610 value to them. 75 00:05:50,030 --> 00:05:54,740 So this makes so much easy because we cannot memorize are these values. 76 00:05:54,920 --> 00:05:58,930 We can just say area is equal to two to one by R squared two. 77 00:05:58,940 --> 00:05:59,730 So this value. 78 00:06:01,100 --> 00:06:04,910 So that's how far this video I hope we have understood these variables.