1 00:00:00,000 --> 00:00:03,539 Great. So let's go ahead and build this program 2 00:00:03,540 --> 00:00:06,629 now. So let's take another look at the output. 3 00:00:06,839 --> 00:00:09,569 Because when you build a program, you want to have 4 00:00:09,599 --> 00:00:13,139 a very clear view of what the output will look 5 00:00:13,140 --> 00:00:17,279 like. And then try to split the big task into 6 00:00:17,309 --> 00:00:21,659 smaller tasks. So for example, let's say this 7 00:00:21,660 --> 00:00:26,399 program is asking for user inputs over and over 8 00:00:26,400 --> 00:00:31,049 again. And it's getting some strings in this raw 9 00:00:31,050 --> 00:00:34,919 format, no periods, and with a small letter in the 10 00:00:34,920 --> 00:00:38,039 beginning, and then if the user enters backslash 11 00:00:38,069 --> 00:00:42,119 ends, the program knows that string, and it 12 00:00:42,120 --> 00:00:45,479 returns the outputs. So what the program is doing 13 00:00:45,480 --> 00:00:48,689 is it's capitalizing the strings. So the first 14 00:00:48,690 --> 00:00:52,229 letter is capitalized, and it's adding a period, 15 00:00:52,769 --> 00:00:56,759 or question mark. Now, you see, this is a list of 16 00:00:57,899 --> 00:01:01,949 phrases here, of sentences. But as I told you try 17 00:01:01,950 --> 00:01:06,269 to split the task into smaller tasks. So try to 18 00:01:06,270 --> 00:01:09,539 split the output into smaller pieces of outputs. 19 00:01:09,719 --> 00:01:12,869 In this case, don't think about how to generate 20 00:01:12,870 --> 00:01:15,989 this list, but think about how to achieve the 21 00:01:15,990 --> 00:01:20,729 minimum viable output. In this case, that is how 22 00:01:20,730 --> 00:01:24,899 to get a raw string such as this one here, and how 23 00:01:24,900 --> 00:01:28,889 to convert it into this string. And the best way 24 00:01:28,890 --> 00:01:33,149 to do it is by using a function, to define your own 25 00:01:33,150 --> 00:01:38,159 function that gets this string and produces this 26 00:01:38,160 --> 00:01:40,949 on in here. So first thing is to create a 27 00:01:40,950 --> 00:01:43,169 function. Let's do that in the next video. 28 00:01:43,170 --> 00:01:46,600 [Outro sound]