Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,430 --> 00:00:07,120
In this exercise, what I want you to do is basically, let's say based on the previous one that you've
2
00:00:07,120 --> 00:00:15,490
already solved, I want you to take and take a closer look at this file so various files may have a
3
00:00:15,490 --> 00:00:16,960
different number of lines.
4
00:00:17,440 --> 00:00:22,190
So here we can see that we are at line to line three and so on.
5
00:00:22,900 --> 00:00:30,460
I want you to write a program that will be able to get these textual file, analyze it and let me know.
6
00:00:30,610 --> 00:00:31,300
Let me in.
7
00:00:31,300 --> 00:00:40,510
You know, basically that will let you know how many rows, how many lines these file has.
8
00:00:40,900 --> 00:00:49,540
OK, so take a couple of minutes, think about a solution and try writing this code down on your own,
9
00:00:50,020 --> 00:00:55,110
implementing it and making sure that the result is exactly as you expected.
10
00:00:55,930 --> 00:00:58,380
I will give it a solution in the next video.
11
00:00:58,390 --> 00:01:00,610
Until then, take your time.
12
00:01:00,610 --> 00:01:01,510
Think about it.
13
00:01:01,720 --> 00:01:04,150
Try to come up with a good idea on your own.
14
00:01:04,570 --> 00:01:08,020
Try to find something because it's not so trivial.
15
00:01:08,530 --> 00:01:09,070
Good luck.
1426
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.