Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,490 --> 00:00:07,210
Welcome back to another exercising our basic programming section in this section, in this exercise,
2
00:00:07,210 --> 00:00:14,140
actually, what you are requested to do is simply to write a program that all it does is to print the
3
00:00:14,140 --> 00:00:16,520
following pattern to the screen.
4
00:00:16,560 --> 00:00:22,540
OK, so we have our A screen where we print different results, different strings.
5
00:00:22,930 --> 00:00:27,280
And what we have to do now is to print the following pattern.
6
00:00:27,280 --> 00:00:29,320
So the pattern goes like this.
7
00:00:30,100 --> 00:00:35,620
First of all, you need to understand that we have to print five lines and 10 columns at each line.
8
00:00:35,740 --> 00:00:36,140
OK.
9
00:00:36,520 --> 00:00:39,050
And how should we feel this better?
10
00:00:39,070 --> 00:00:48,640
So at the first row, we should print one and all the remaining nine characters left should be asterisks.
11
00:00:49,240 --> 00:00:55,540
And then the second line, we should print one, two, and then the remaining eight asterisks and so
12
00:00:55,540 --> 00:00:56,380
on and so forth.
13
00:00:56,650 --> 00:01:01,720
And the fifth line you have to print one, two, three, four, five and five asterisks.
14
00:01:02,200 --> 00:01:07,330
So it's not very complicated if you've listened up so far.
15
00:01:07,510 --> 00:01:18,880
But what do you have to do is to simply implement this exercise and these printing are printing, let's
16
00:01:18,880 --> 00:01:26,030
say printing pattern concept is to use two different approaches.
17
00:01:26,080 --> 00:01:33,910
So one one approach will use just probably one print command and the other approach should use to print
18
00:01:33,910 --> 00:01:34,500
commands.
19
00:01:34,990 --> 00:01:42,400
So take a couple of moments to think about it, open up your ID and to try writing these code on your
20
00:01:42,400 --> 00:01:49,300
own build and run it and make sure that it works as expected and if it doesn't work as expected.
21
00:01:49,330 --> 00:01:55,870
So you have to be really, really concentrated on the solution and to understand everything that we
22
00:01:55,870 --> 00:01:56,470
are doing.
23
00:01:56,890 --> 00:02:00,360
And if you still think you can do it, then you know how to do it.
24
00:02:00,820 --> 00:02:03,190
Please, guys, don't don't be like that.
25
00:02:03,370 --> 00:02:04,900
Try to open up your ideas.
26
00:02:04,900 --> 00:02:08,890
If you know how to do it, it should take you just one, two minute practice.
27
00:02:08,890 --> 00:02:11,080
It practice makes progress.
28
00:02:11,080 --> 00:02:11,940
Remember that.
29
00:02:12,400 --> 00:02:16,060
So until then, until the solutions video, I wish you good luck.
30
00:02:16,510 --> 00:02:19,150
Keep it up and keep on practicing.
31
00:02:19,310 --> 00:02:20,170
I'll see you then.
3038
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.