1 00:00:01,010 --> 00:00:04,190 Let's learn about the python data types. 2 00:00:04,370 --> 00:00:07,020 All the options we have in Python. 3 00:00:07,060 --> 00:00:12,730 NOW WE'RE BACK TO OUR REPTILE thought I.D. So again write some python code we see over here that we're 4 00:00:12,730 --> 00:00:16,490 using python version three point six. 5 00:00:16,540 --> 00:00:17,350 That's great. 6 00:00:17,350 --> 00:00:22,530 Let's minimize this and start writing our first Python code. 7 00:00:22,580 --> 00:00:30,770 Now we're going to talk about data types and Python has several available to us. 8 00:00:31,010 --> 00:00:35,650 Now I'm going to list them out for you and then we're going to talk about each one individually. 9 00:00:35,720 --> 00:00:43,460 First we have something called it and you see right away when I type I have the ripple already give 10 00:00:43,460 --> 00:00:45,340 me a hint and it's highlighting it. 11 00:00:45,410 --> 00:00:50,850 If I hover over it it shows me that it stands for integer. 12 00:00:50,880 --> 00:00:54,380 We also have something called float. 13 00:00:54,590 --> 00:00:58,760 We have ball which stands for boolean. 14 00:00:58,840 --> 00:01:15,270 We have SDR which stands for string list tuple set and dict. 15 00:01:15,290 --> 00:01:17,300 Now what are these. 16 00:01:17,300 --> 00:01:27,570 These are data types right a data type is a value in python so you can think of it as exactly that values. 17 00:01:27,690 --> 00:01:36,210 So it would represent all numbers for example string will represent all letters for example in a program 18 00:01:36,270 --> 00:01:40,760 is simply instructions that tell a computer what to do and what does that mean. 19 00:01:40,830 --> 00:01:47,860 It's all about storing information or a data type and modifying that information. 20 00:01:48,090 --> 00:01:54,390 We're taking actions on these data types so the two crucial steps when learning a programming language 21 00:01:54,660 --> 00:02:01,500 is that well we have these data types that we need to understand that exist in a language and then we 22 00:02:01,500 --> 00:02:09,540 need to learn how we can manipulate the data create store read change remove this data from the machine. 23 00:02:09,540 --> 00:02:16,140 Now these data types are called the fundamental data types in Python. 24 00:02:16,140 --> 00:02:23,090 They are the core to the language now after the fundamental data types. 25 00:02:23,090 --> 00:02:33,030 We also have something called classes so beyond these data types we can actually create our own using 26 00:02:33,030 --> 00:02:38,250 something called classes so these will be custom types. 27 00:02:38,380 --> 00:02:40,410 Again something that we'll learn about. 28 00:02:40,720 --> 00:02:44,800 So I can create a class that I can name whatever I want. 29 00:02:44,800 --> 00:02:48,060 For example super car. 30 00:02:48,130 --> 00:02:54,560 Now that doesn't exist but I can create it and we'll explore how to do that in the course now. 31 00:02:54,810 --> 00:03:03,500 Besides the fundamental data types the classes which will be arc own custom types we also have something 32 00:03:03,500 --> 00:03:06,320 called specialized data types 33 00:03:09,920 --> 00:03:12,920 and these specialized data types. 34 00:03:12,920 --> 00:03:23,480 They're not built into python but they're special packages and modules that we can use from libraries. 35 00:03:23,480 --> 00:03:26,330 Now again this is a topic that we'll cover later. 36 00:03:26,420 --> 00:03:36,080 But these are you can think of it as extra boost whenever we don't have a data type that we want in 37 00:03:36,080 --> 00:03:42,470 the standard Python package and maybe we don't want to create our own custom types. 38 00:03:42,470 --> 00:03:49,550 There are specialized data types that we can use from what we call modules so you can think of it as 39 00:03:49,880 --> 00:03:52,190 extensions that we can add to the language. 40 00:03:52,190 --> 00:03:55,700 Again something that we'll talk about later on in the course. 41 00:03:55,700 --> 00:04:02,960 And then finally there's another type that is a little special called none and none. 42 00:04:03,020 --> 00:04:09,650 As you can see it's being highlighted which means it means something in the language none as the name 43 00:04:09,650 --> 00:04:12,400 suggests means nothing. 44 00:04:12,410 --> 00:04:18,890 It's kind of like the idea of zero in math it's the absence of value. 45 00:04:19,130 --> 00:04:21,290 It's simply nothing. 46 00:04:21,740 --> 00:04:26,380 And you'll see why this is important in programming later on. 47 00:04:26,390 --> 00:04:32,380 So these are our data types that we're going to talk and we're going to use in our language. 48 00:04:32,540 --> 00:04:37,710 Now we're going to start with the fundamental data types which are nice and simple for us to get through. 49 00:04:37,730 --> 00:04:40,530 So let's start one by one and you know what. 50 00:04:40,640 --> 00:04:43,510 Let's start with these two for now. 51 00:04:43,610 --> 00:04:45,400 I'll see you in the next one but my.