1 00:00:00,630 --> 00:00:01,800 Instructor: Welcome back. 2 00:00:01,800 --> 00:00:05,430 We learned about our basic Python data types. 3 00:00:05,430 --> 00:00:08,580 We also learned a little bit about some of the terms 4 00:00:08,580 --> 00:00:12,360 that we might use when talking about code. 5 00:00:12,360 --> 00:00:15,900 We learned a few best practices, but most importantly, 6 00:00:15,900 --> 00:00:20,130 we learned how to perform actions on these data types. 7 00:00:20,130 --> 00:00:23,100 We saw that there's built-in functions 8 00:00:23,100 --> 00:00:26,340 that we can run on any data type, 9 00:00:26,340 --> 00:00:29,250 such as the print function. 10 00:00:29,250 --> 00:00:32,460 But we also learned that most of these data types 11 00:00:32,460 --> 00:00:34,380 have their own methods. 12 00:00:34,380 --> 00:00:37,170 That is that dot, some sort of a name, 13 00:00:37,170 --> 00:00:40,710 and then the brackets to perform some actions on them. 14 00:00:40,710 --> 00:00:43,170 Now, we're still scratching the surface here, 15 00:00:43,170 --> 00:00:48,170 but we now go into an area that gets really, really exciting 16 00:00:48,390 --> 00:00:52,410 because up until now what we've been doing is this. 17 00:00:52,410 --> 00:00:56,433 Every time we write code, we do something here, 18 00:00:57,810 --> 00:01:01,920 and then we go to the second line and do something else, 19 00:01:01,920 --> 00:01:05,610 and then finally go to the third line and do something else, 20 00:01:05,610 --> 00:01:07,143 and so on and so forth. 21 00:01:08,040 --> 00:01:11,610 Our Python interpreter just went line by line, 22 00:01:11,610 --> 00:01:15,270 one all the way through whatever line number 23 00:01:15,270 --> 00:01:20,270 we have on our .py file and just ran the code. 24 00:01:20,940 --> 00:01:24,330 And it ran really fast because machines are good at that. 25 00:01:24,330 --> 00:01:26,490 They run code really fast, 26 00:01:26,490 --> 00:01:30,450 but we haven't discovered the true power of programming 27 00:01:30,450 --> 00:01:33,153 and specifically programming for machines. 28 00:01:34,680 --> 00:01:37,860 You see the power comes when we start to incorporate 29 00:01:37,860 --> 00:01:42,330 the idea of maybe running multiple lines over and over. 30 00:01:42,330 --> 00:01:43,500 Or maybe skipping a line 31 00:01:43,500 --> 00:01:45,723 and going from line one to line three. 32 00:01:47,130 --> 00:01:48,330 And in this section, 33 00:01:48,330 --> 00:01:51,570 we're gonna talk about the idea of conditions 34 00:01:51,570 --> 00:01:53,370 and conditional logic. 35 00:01:53,370 --> 00:01:55,740 We're gonna talk about looping 36 00:01:55,740 --> 00:01:59,580 and loops where we can perform actions hundreds, 37 00:01:59,580 --> 00:02:02,670 thousands, millions of time over and over. 38 00:02:02,670 --> 00:02:05,940 Something that machines are really, really good at. 39 00:02:05,940 --> 00:02:08,910 And that's when programming becomes really powerful 40 00:02:08,910 --> 00:02:13,770 because machines can do certain tasks a lot better 41 00:02:13,770 --> 00:02:16,140 and a lot faster than humans. 42 00:02:16,140 --> 00:02:20,310 So we're now going to break into a new world. 43 00:02:20,310 --> 00:02:23,130 Where instead of going from one, two, three, 44 00:02:23,130 --> 00:02:24,390 everything in order, 45 00:02:24,390 --> 00:02:26,730 we're gonna start to break some of that apart 46 00:02:26,730 --> 00:02:29,790 so that we have more control over our programs 47 00:02:29,790 --> 00:02:32,100 than just going line by line. 48 00:02:32,100 --> 00:02:34,683 Let's find out how to do that in the next video.