1
00:00:00,540 --> 00:00:02,830
Hi it's Ardit here, your instructor.

2
00:00:03,120 --> 00:00:09,630
If you followed the previous videos of the course, that means you learned the fundamentals of Python and

3
00:00:09,630 --> 00:00:16,290
that was variables, data types, functions, conditionals loops, and user input.

4
00:00:16,380 --> 00:00:18,390
That is the core of Python.

5
00:00:18,810 --> 00:00:26,460
Whatever application you will build be it a data science script or a web app or something that automates

6
00:00:26,460 --> 00:00:32,480
your daily tasks you're almost always going to need all those fundamentals.

7
00:00:32,580 --> 00:00:39,180
So before going further to more advanced features of Python in this section let's take some time and

8
00:00:39,180 --> 00:00:46,980
meditate on what we learned by meditation what I mean is to think a little of these fundamentals that

9
00:00:46,980 --> 00:00:54,720
you learned and the best way to do that is to create a program that uses all of those core features

10
00:00:54,780 --> 00:00:57,630
of Python. Without wasting any more of your time

11
00:00:57,630 --> 00:01:02,450
let me demonstrate the program that we are going to builds.

12
00:01:02,590 --> 00:01:04,420
I've saved the code in a script.

13
00:01:04,420 --> 00:01:06,520
I'm not I'm not going to show you the code right away.

14
00:01:06,700 --> 00:01:14,820
I'm going to show you the output, so when I execute the code I get a message printed out "Say something":

15
00:01:14,940 --> 00:01:18,520
So it's a prompt that is asking for user input.

16
00:01:18,660 --> 00:01:23,510
Let's say it's a good weather today.

17
00:01:23,970 --> 00:01:25,770
Enter the program.

18
00:01:25,770 --> 00:01:28,770
Ask again for input.

19
00:01:28,810 --> 00:01:33,450
How is the weather there?

20
00:01:33,700 --> 00:01:37,860
There's only some clouds here. Enter.

21
00:01:37,860 --> 00:01:46,210
And now if you want to end this program, you want to press \end, press center.

22
00:01:46,420 --> 00:01:48,430
And this is the output.

23
00:01:48,430 --> 00:01:49,240
So what 

24
00:01:49,240 --> 00:01:52,880
this program is, is it asks you for inputs,

25
00:01:53,110 --> 00:02:00,580
you enter the input again and again, and as soon as your answer end with a backslash,  \end

26
00:02:00,910 --> 00:02:07,910
the program will terminate and it will output the phrases you entered capitalized.

27
00:02:07,910 --> 00:02:15,850
So the first letter is capitalized and a period is added to these kinds of sentences and a question

28
00:02:15,850 --> 00:02:20,350
mark if that is a question like this one in here.

29
00:02:21,130 --> 00:02:28,030
And same for this with a period and this is our secret string so it's a \end when the program

30
00:02:28,060 --> 00:02:32,910
gets it that string that means it's time to end the program and get the results.

31
00:02:32,920 --> 00:02:37,720
So this is not one of the ten real world applications that I promised to build in this course.

32
00:02:37,750 --> 00:02:44,730
The first application comes later on in the course, but this is just to practice what you learned so far.

33
00:02:44,740 --> 00:02:51,190
So even though it's a useless program obviously who is going to need this, but it's going to help you

34
00:02:51,190 --> 00:02:56,180
a lot to know how to use the conditionals, and functions, and loops.

35
00:02:56,230 --> 00:02:58,810
So please do this. After this video ends

36
00:02:59,080 --> 00:03:05,650
what I'd like you to do is to take some time and think how you can solve, how you can code this program.

37
00:03:05,650 --> 00:03:07,000
Now you know the output.

38
00:03:07,000 --> 00:03:10,380
So try to think and maybe try to write some code.

39
00:03:10,420 --> 00:03:11,420
Why not?

40
00:03:11,530 --> 00:03:19,150
I don't expect you to solve this actually but still if you put yourself into problem solving mode and

41
00:03:19,150 --> 00:03:24,350
then when you see my solution in the following videos because I'm going to take you through the code

42
00:03:24,360 --> 00:03:29,450
step by step how to build this, and then you're going to have an aha moment.

43
00:03:29,680 --> 00:03:36,160
That is when you memorize things better because in your mind that was something you needed to know when

44
00:03:36,160 --> 00:03:42,040
you're when you tried to to understand how you can do that and then you see how it is done and then you

45
00:03:42,040 --> 00:03:43,200
learn it better.

46
00:03:43,230 --> 00:03:45,010
So yeah I'll talk to you in the next videos.

