WEBVTT

00:00.110 --> 00:02.180
This is the first activity of this course.

00:02.180 --> 00:06.380
And let me just start by explaining what we're going to do in those activities.

00:06.380 --> 00:12.230
So I will always start first with an introduction video like this one here to give you a challenge.

00:12.230 --> 00:14.540
So I explain to you what challenge we're going to do.

00:14.570 --> 00:18.410
And this challenge is going to make you practice what you have just learned before.

00:18.410 --> 00:19.880
So practice what you learned before.

00:19.880 --> 00:25.460
And as we go further in the course also it will help you to combine different concepts.

00:25.490 --> 00:25.700
Okay.

00:25.730 --> 00:31.130
Then after I give you the challenge, it's your turn to work on the challenge and try to solve it on

00:31.130 --> 00:31.700
your own.

00:31.700 --> 00:35.720
And you can also watch the previous videos if you need to, so you can better understand the concepts

00:35.720 --> 00:36.800
and how to apply them.

00:36.800 --> 00:43.580
And after you have worked on the activity well, the next video is the complete, detailed step by step

00:43.580 --> 00:45.830
solution for that challenge.

00:45.860 --> 00:49.250
All right, so what do we want to do for this first activity.

00:49.250 --> 00:56.270
Well the goal is to create a function that will concatenate two strings and put them uppercase okay.

00:56.300 --> 01:01.700
So for example first string I will say let's say you have a hello.

01:01.700 --> 01:05.630
And the second string is going to be world okay.

01:05.660 --> 01:08.930
So you will put those two strings inside variables of course.

01:08.930 --> 01:14.630
And then the result is going to be hello world like that.

01:14.660 --> 01:15.020
All right.

01:15.020 --> 01:17.280
So you will concatenate the two strings.

01:17.310 --> 01:21.600
Note here you also have to add a space and everything will be uppercase.

01:21.630 --> 01:27.000
Now there is one thing missing is how to actually put a string uppercase.

01:27.030 --> 01:30.000
Well let's say you have the string here.

01:30.030 --> 01:33.000
You just do dot upper.

01:33.030 --> 01:35.310
You have the upper function here.

01:35.340 --> 01:35.520
Okay.

01:35.550 --> 01:36.540
So you can use that.

01:36.540 --> 01:42.210
And the result of that this is going to give actually that in uppercase.

01:42.240 --> 01:42.570
Okay.

01:42.600 --> 01:44.490
And how to concatenate strings.

01:44.490 --> 01:48.570
We've actually seen that with data types I think you just.

01:48.660 --> 01:55.530
So let's say you have a string a you just do plus a string B okay.

01:55.560 --> 01:59.220
And the result is going to be AB okay.

01:59.250 --> 02:02.850
So you can use the plus symbol just to concatenate two strings.

02:02.850 --> 02:04.920
And so with this you have enough information.

02:04.920 --> 02:11.040
You can create now a function with two parameters that will take two strings and then return the result

02:11.040 --> 02:14.820
which is the concatenation of those two strings uppercase.

02:14.820 --> 02:18.720
And then you can print the result so you can see if it's correctly working.

02:18.720 --> 02:19.020
Great.

02:19.020 --> 02:20.820
So now it's your time to work on this.

02:21.030 --> 02:25.620
I will recommend you to take enough time to do it even if it seems hard.

02:25.650 --> 02:29.430
Okay, you can go back to previous videos, experiment a few different things.

02:29.460 --> 02:29.760
Okay.

02:29.790 --> 02:33.060
And then I have the solution in the next video.
