Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,810 --> 00:00:05,070
I hope you enjoy drawing your initials if you had trouble, here's how I did it.
2
00:00:07,330 --> 00:00:11,860
First time, eight, seven print statements, because if you look back at the image, each letter spans
3
00:00:11,860 --> 00:00:12,880
seven lines.
4
00:00:14,050 --> 00:00:16,300
This means we have to print seven lines.
5
00:00:17,570 --> 00:00:19,460
Tabac Daccord will say system.
6
00:00:20,490 --> 00:00:22,770
Dart out front line.
7
00:00:24,050 --> 00:00:26,300
And for now, I'm going to print empty text.
8
00:00:29,570 --> 00:00:34,460
Once you write this down, copy and paste the six more times that way we print seven lines.
9
00:00:42,600 --> 00:00:47,250
And if you go back to the visual, you'll notice that each letter takes up five spaces.
10
00:00:53,040 --> 00:00:54,930
So I had five S's for SIM.
11
00:00:59,580 --> 00:01:01,560
And five days for Adams.
12
00:01:13,900 --> 00:01:17,980
And before I continue, I'm going to compile and run my code to make sure I'm on the right track.
13
00:01:36,330 --> 00:01:42,420
As expected, it Princesa quite a few times, and with that being said, it's a good habit to keep testing
14
00:01:42,420 --> 00:01:47,550
your code as you're adding features, because if anything goes wrong, you'll know exactly what to remove
15
00:01:47,550 --> 00:01:48,690
and resolve your issue.
16
00:01:50,580 --> 00:01:54,840
In any case, the visual tells us that between each letter, there should be two spaces.
17
00:01:57,340 --> 00:01:59,650
So back to our code, we can do just that.
18
00:02:08,990 --> 00:02:11,850
All right, once you do that, compile your code.
19
00:02:12,500 --> 00:02:17,360
And remember, you can use the key to run previous terminal commands and then run it.
20
00:02:21,640 --> 00:02:23,600
OK, everything is going well so far.
21
00:02:23,620 --> 00:02:25,510
Now we need to take another look at the image.
22
00:02:28,880 --> 00:02:33,200
In each line, it tells you where there should be a letter and where there should be an empty space.
23
00:02:37,590 --> 00:02:44,070
So in the first line, I should have a blank space in spots one in five and I should have a blank space
24
00:02:44,070 --> 00:02:46,350
in spots one, two, four and five.
25
00:02:49,390 --> 00:02:52,930
So in her code, what will do is replace the right spot with a blank space.
26
00:02:54,890 --> 00:02:59,090
One in five, and I believe this one is one to four and five.
27
00:03:03,380 --> 00:03:08,420
In line to I can do the exact same thing here, there's a blank space in spots two, three and four
28
00:03:09,020 --> 00:03:11,510
and here spots one, three and five.
29
00:03:12,380 --> 00:03:16,400
So back in our code, I'll put some space in spots two, three and four.
30
00:03:19,230 --> 00:03:20,670
And one, three and five.
31
00:03:25,770 --> 00:03:28,410
Now paused the video and do the same thing for every other line.
32
00:03:37,970 --> 00:03:39,200
If I run my code.
33
00:03:41,570 --> 00:03:42,470
Everything works out.
34
00:03:46,110 --> 00:03:50,820
Congratulations on finishing up the getting started section now you know how to create jobs projects,
35
00:03:50,820 --> 00:03:57,690
create a class print of messages using code, compile code using Java Sea and running code using the
36
00:03:57,690 --> 00:03:58,590
Java Command.
3518
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.