Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,390 --> 00:00:06,990
OK, guys, so welcome back to additional exercise in our loop's section.
2
00:00:07,200 --> 00:00:10,730
OK, so my name is Vlad.
3
00:00:10,740 --> 00:00:14,670
Welcome to Alphatech Academy and our programming course.
4
00:00:15,000 --> 00:00:22,980
You know, we continue with our loop's exercises and basically what we will do is simply very similar
5
00:00:22,980 --> 00:00:31,680
to one of our previous exercises is that we are going to write a program that receives an integer,
6
00:00:31,680 --> 00:00:39,060
which is M and this program should print in right angled triangle with the following pattern up to a
7
00:00:39,060 --> 00:00:39,750
given.
8
00:00:39,750 --> 00:00:44,850
And so it sounds very similar to the previous exercise.
9
00:00:45,210 --> 00:00:50,000
The only difference is that the pattern itself will be a little bit different.
10
00:00:50,520 --> 00:00:54,860
So on the first line will just print, let me get my laser here.
11
00:00:54,870 --> 00:00:58,200
So on the first line will print the value of one.
12
00:00:58,200 --> 00:01:06,150
On the second line we will print two values of two and on the third line will print three values of
13
00:01:06,150 --> 00:01:10,290
three and do the same if we will get like an equals to five.
14
00:01:10,320 --> 00:01:17,070
So basically I think you got the idea of what you have to do and also, you know the difference from
15
00:01:17,070 --> 00:01:18,360
the previous exercise.
16
00:01:19,350 --> 00:01:28,020
And yeah, I think this is it for the explanation, think about how you can use nested loops and should
17
00:01:28,020 --> 00:01:32,580
they both be like loops of this kind or loops of that kind.
18
00:01:33,150 --> 00:01:37,680
And I'm leaving it to you because I really think that you can solve this exercise.
19
00:01:37,920 --> 00:01:43,650
Please, guys, don't just jump straight to the solution that I will solve.
20
00:01:44,160 --> 00:01:50,760
Of course I will solve it with you, but try to make and solve this exercise on your own.
21
00:01:51,060 --> 00:01:56,310
This is the whole point of the chorused practice as much as possible.
22
00:01:56,550 --> 00:02:04,740
And also to make sure that your practice is good enough and that your solution kind of you can test
23
00:02:04,740 --> 00:02:06,420
your solution with my solution.
24
00:02:06,420 --> 00:02:15,300
It does not have to be exactly the same, but probably most of the lines of code will be pretty much
25
00:02:15,300 --> 00:02:21,850
similar so that this way you can improve your knowledge and improve your skills in our programming language.
26
00:02:22,410 --> 00:02:26,880
So, yeah, this is it for this video and I will see you in the solution.
2862
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.