1 00:00:00,840 --> 00:00:04,080 Let's learn about the Python data types. 2 00:00:04,170 --> 00:00:06,300 All the options we have in Python. 3 00:00:06,900 --> 00:00:09,070 Now we're back to our reply. 4 00:00:09,330 --> 00:00:11,280 So we can write some Python code. 5 00:00:11,280 --> 00:00:15,810 We see over here that we're using Python version 3.6. 6 00:00:16,379 --> 00:00:17,210 That's great. 7 00:00:17,220 --> 00:00:21,750 Let's minimize this and start writing our first Python code. 8 00:00:22,420 --> 00:00:25,210 Now we're going to talk about data types. 9 00:00:26,910 --> 00:00:29,880 And Python has several available to us. 10 00:00:30,880 --> 00:00:35,410 Now I'm going to list them out for you and then we're going to talk about each one individually. 11 00:00:35,530 --> 00:00:38,230 First, we have something called ENT. 12 00:00:38,230 --> 00:00:43,240 And you see right away when I type, I have the rebel already. 13 00:00:43,240 --> 00:00:46,780 Give me a hint and it's highlighting it if I hover over it. 14 00:00:46,870 --> 00:00:49,840 It shows me that INT stands for integer. 15 00:00:50,790 --> 00:00:53,250 We also have something called float. 16 00:00:54,390 --> 00:00:55,950 We have bull. 17 00:00:56,560 --> 00:00:58,030 Which stands for bullying. 18 00:00:58,670 --> 00:01:01,700 We have SDR, which stands for String. 19 00:01:03,500 --> 00:01:04,370 List. 20 00:01:06,350 --> 00:01:07,100 Tuple. 21 00:01:09,240 --> 00:01:10,050 Set. 22 00:01:11,720 --> 00:01:13,910 And dict. 23 00:01:15,120 --> 00:01:15,840 Now. 24 00:01:15,840 --> 00:01:17,160 What are these? 25 00:01:17,190 --> 00:01:18,990 These are data types, right? 26 00:01:20,070 --> 00:01:27,480 A data type is a value in Python, so you can think of it as exactly that values. 27 00:01:27,480 --> 00:01:29,910 So it would represent all numbers. 28 00:01:29,910 --> 00:01:37,500 For example, string will represent all letters, for example, and a program is simply instructions 29 00:01:37,500 --> 00:01:39,350 that tell a computer what to do. 30 00:01:39,360 --> 00:01:40,580 And what does that mean? 31 00:01:40,590 --> 00:01:47,520 It's all about storing information or a data type and modifying that information. 32 00:01:47,910 --> 00:01:50,670 We're taking actions on these data types. 33 00:01:51,060 --> 00:01:57,780 So the two crucial steps when learning a programming language is that, well, we have these data types 34 00:01:57,780 --> 00:02:03,240 that we need to understand that exist in a language, and then we need to learn how we can manipulate 35 00:02:03,240 --> 00:02:09,270 the data, create store, read change, remove this data from the machine. 36 00:02:09,270 --> 00:02:14,820 Now these data types are called the fundamental data types. 37 00:02:14,820 --> 00:02:18,030 In Python, they are the core to the language. 38 00:02:19,350 --> 00:02:26,520 Now after the fundamental data types, we also have something called classes. 39 00:02:27,650 --> 00:02:31,580 So beyond these data types, we can actually create our own. 40 00:02:32,500 --> 00:02:34,360 Using something called classes. 41 00:02:34,960 --> 00:02:40,430 So these will be custom types again, something that we'll learn about. 42 00:02:40,450 --> 00:02:44,590 So I can create a class that I can name whatever I want. 43 00:02:44,620 --> 00:02:47,710 For example, super car. 44 00:02:47,890 --> 00:02:52,660 Now that doesn't exist, but I can create it and we'll explore how to do that in the course. 45 00:02:53,590 --> 00:03:00,610 Now, besides the fundamental data types, the classes which will be our own custom types. 46 00:03:01,960 --> 00:03:06,490 We also have something called specialized data types. 47 00:03:09,720 --> 00:03:12,510 And these specialized data types. 48 00:03:12,810 --> 00:03:23,220 They're not built into Python, but they're special packages and modules that we can use from libraries. 49 00:03:23,250 --> 00:03:30,780 Now, again, this is a topic that we'll cover later, but these are you can think of it as extra boosts 50 00:03:30,780 --> 00:03:38,310 whenever we don't have a data type that we want in the standard Python package. 51 00:03:38,310 --> 00:03:42,150 And maybe we don't want to create our own custom types. 52 00:03:42,240 --> 00:03:47,250 There are specialized data types that we can use from what we call modules. 53 00:03:47,400 --> 00:03:52,080 So you can think of it as extensions that we can add to the language. 54 00:03:52,080 --> 00:03:55,170 Again, something that we'll talk about later on in the course. 55 00:03:55,470 --> 00:04:02,920 And then finally, there's another type that is a little special called None and None. 56 00:04:02,940 --> 00:04:04,740 As you can see, it's being highlighted. 57 00:04:04,740 --> 00:04:07,080 Which means it means something in the language. 58 00:04:07,170 --> 00:04:07,980 None. 59 00:04:08,490 --> 00:04:12,150 As the name suggests, means nothing. 60 00:04:12,180 --> 00:04:16,140 It's kind of like the idea of zero in math. 61 00:04:16,320 --> 00:04:18,570 It's the absence of value. 62 00:04:18,930 --> 00:04:21,089 It's simply nothing. 63 00:04:21,540 --> 00:04:25,890 And you'll see why this is important in programming later on. 64 00:04:26,190 --> 00:04:31,860 So these are our data types that we're going to talk and we're going to use in our language. 65 00:04:32,310 --> 00:04:37,350 Now, we're going to start with the fundamental data types, which are nice and simple for us to get 66 00:04:37,350 --> 00:04:37,570 through. 67 00:04:37,590 --> 00:04:39,540 So let's start one by one. 68 00:04:39,540 --> 00:04:40,560 And you know what? 69 00:04:40,560 --> 00:04:42,690 Let's start with these two for now. 70 00:04:43,530 --> 00:04:44,550 I'll see you in the next one. 71 00:04:45,030 --> 00:04:45,570 Bye bye.