1 00:00:00,780 --> 00:00:01,920 Instructor: Welcome back. 2 00:00:01,920 --> 00:00:06,920 When we talked about lists, we saw our special type of None 3 00:00:09,480 --> 00:00:13,020 where some methods that worked on lists 4 00:00:13,020 --> 00:00:14,700 didn't really produce anything. 5 00:00:14,700 --> 00:00:17,460 They modified the lists in place, 6 00:00:17,460 --> 00:00:20,070 but the output of whatever they were doing, 7 00:00:20,070 --> 00:00:21,570 was this thing None. 8 00:00:21,570 --> 00:00:25,470 Remember how we had in the output, this None? 9 00:00:25,470 --> 00:00:26,733 What does that mean? 10 00:00:27,851 --> 00:00:29,010 If you remember, 11 00:00:29,010 --> 00:00:31,890 I mentioned None as a special data type 12 00:00:31,890 --> 00:00:34,680 that exists in Python 13 00:00:34,680 --> 00:00:36,840 and most languages have something like this 14 00:00:36,840 --> 00:00:39,600 to represent the absence of value. 15 00:00:39,600 --> 00:00:43,140 In some other languages you might have heard of Null 16 00:00:43,140 --> 00:00:45,300 which is another thing that, again, 17 00:00:45,300 --> 00:00:47,253 represents the absence of value. 18 00:00:48,240 --> 00:00:50,910 Now, why is this useful? 19 00:00:50,910 --> 00:00:55,170 Well, for now it's hard to really conceptualize it. 20 00:00:55,170 --> 00:00:57,360 We'll see it being used a lot more 21 00:00:57,360 --> 00:00:59,970 as we get further into the course, 22 00:00:59,970 --> 00:01:03,960 but I could do something like a = None. 23 00:01:03,960 --> 00:01:07,740 Let's say for example, we're just starting a video game 24 00:01:07,740 --> 00:01:12,633 and in this video game, we have a user's weapons. 25 00:01:13,740 --> 00:01:16,110 But when you're just starting the game 26 00:01:16,110 --> 00:01:18,930 there are no weapons that the user has. 27 00:01:18,930 --> 00:01:19,980 Well, in that case, 28 00:01:19,980 --> 00:01:22,680 we might wanna assign the variable weapons. 29 00:01:22,680 --> 00:01:25,080 Maybe in our code we use this variable, 30 00:01:25,080 --> 00:01:26,160 but we also wanna know 31 00:01:26,160 --> 00:01:29,850 that this user doesn't really have any weapons, 32 00:01:29,850 --> 00:01:31,080 it's None. 33 00:01:31,080 --> 00:01:34,683 So this is completely valid Python. 34 00:01:36,030 --> 00:01:40,710 If I run this, I get None. 35 00:01:40,710 --> 00:01:42,483 And we'll explore this a little bit more 36 00:01:42,483 --> 00:01:43,770 throughout the course, 37 00:01:43,770 --> 00:01:46,770 like I said, but hopefully this way you're not 38 00:01:46,770 --> 00:01:49,530 intimidated when you see it, as the name suggests, 39 00:01:49,530 --> 00:01:50,433 it's just nothing.