1 00:00:00,360 --> 00:00:01,370 Hi, welcome back. 2 00:00:01,380 --> 00:00:11,010 In this lecture, we will understand the different data types and by some important data types are used 3 00:00:11,220 --> 00:00:15,350 to classify one particular type of data. 4 00:00:15,870 --> 00:00:17,420 But why is this important? 5 00:00:17,970 --> 00:00:26,400 If you use a specific data type, you will determine what values you can assign to it and how you can 6 00:00:26,400 --> 00:00:29,090 deal with such data type. 7 00:00:29,400 --> 00:00:39,330 The first data time you will know is no vison will consider any number written without decimals as an 8 00:00:39,330 --> 00:00:44,520 integer and any number written with decimal as a flow. 9 00:00:45,240 --> 00:00:48,000 So integers as. 10 00:00:49,590 --> 00:01:01,500 One hundred and five and one hundred and five point o is a float that a type like a mass, integers 11 00:01:01,500 --> 00:01:10,470 in computer programming are whole numbers without decimal point and can be positive or negative, like 12 00:01:10,470 --> 00:01:19,650 minus two, minus one zero one to an integer can be also known as end and bison. 13 00:01:20,400 --> 00:01:24,990 So if we use the brain function of Python three as the following. 14 00:01:25,900 --> 00:01:30,490 And runs this line of code, we will get minus two. 15 00:01:34,290 --> 00:01:42,600 As the output of this line of code, if we want to assign this value to a variable, for example, called 16 00:01:42,600 --> 00:01:43,350 mind. 17 00:01:44,730 --> 00:01:48,870 As the following my article, Mine is to. 18 00:01:49,910 --> 00:01:58,790 And balance is variable using Bison's the brain function, so Brent, my n output of this line of code 19 00:01:58,820 --> 00:02:00,590 will be minus two. 20 00:02:00,860 --> 00:02:13,220 We can also apply math using Python as the following and underscore means equal then minus between two, 21 00:02:13,370 --> 00:02:21,170 parentheses minus two and printout and underscore math as the following. 22 00:02:22,820 --> 00:02:26,290 Without both that, we get as 12. 23 00:02:27,300 --> 00:02:38,520 OK, so integers can be used in many ways, whizzing by some programs, and as you continue the calls, 24 00:02:38,850 --> 00:02:47,580 you will have a lot of opportunities to work with integers and apply what you will learn about this 25 00:02:47,940 --> 00:02:48,820 data type. 26 00:02:49,000 --> 00:02:58,450 The second that I Invisalign, which is also a number as flawed, that type of lot is real number contain 27 00:02:58,590 --> 00:03:00,840 a decimal point. 28 00:03:00,840 --> 00:03:14,320 And we can do math with float's as we do with integers if we want to brand the float to bind all print 29 00:03:15,570 --> 00:03:27,720 2.0 and also for the float minus to point, all the output of the brain function is minus two points. 30 00:03:27,720 --> 00:03:38,130 So we can also assign our float to a variable called my underscore float equal minus ten point two. 31 00:03:38,770 --> 00:03:47,910 Then you can print my float variable by using print function as the following, print my float and you 32 00:03:47,910 --> 00:03:50,370 get minus ten point two. 33 00:03:50,910 --> 00:04:05,760 Now we will do math to float data type float underscore mass equal minus ten point five O plus twenty 34 00:04:05,970 --> 00:04:07,020 point six. 35 00:04:09,590 --> 00:04:19,820 So after we assign our valuable float underscore mass, we will brand this variable as the following, 36 00:04:19,820 --> 00:04:25,010 using brain function to branched out float underscore May. 37 00:04:25,980 --> 00:04:29,430 And we get ten point ten. 38 00:04:30,420 --> 00:04:38,550 We can round it to two values after decimal points, the following. 39 00:04:39,660 --> 00:04:46,950 Brent tweet to parentheses around between two parentheses followed underscore may as well. 40 00:04:48,100 --> 00:04:53,230 Gave us the end function, but coma and to. 41 00:04:54,270 --> 00:04:57,300 We will get 10.1. 42 00:04:58,270 --> 00:05:04,900 Or ten point ten at this point, which of this lecture, I hope you enjoyed this lecture and get all 43 00:05:04,900 --> 00:05:05,250 of that. 44 00:05:05,260 --> 00:05:06,640 Thank thanks for being here. 45 00:05:07,450 --> 00:05:09,100 See you next with.