Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
0
1
00:00:00,540 --> 00:00:02,280
I've got these two variables here.
1
2
00:00:02,280 --> 00:00:03,500
Each of them has value.
2
3
00:00:03,530 --> 00:00:09,540
And let me write a condition that will do something different depending on whether x is greater, equal,
3
4
00:00:09,720 --> 00:00:11,300
or less than y.
4
5
00:00:13,230 --> 00:00:27,580
So if X is greater than y print x is greater than y.
5
6
00:00:27,700 --> 00:00:33,100
Elif x is equal to y print
6
7
00:00:38,090 --> 00:00:39,130
x is equal to y.
7
8
00:00:39,600 --> 00:00:41,240
And what remains?
8
9
00:00:41,250 --> 00:00:45,810
What is the conditional? If X is not greater, and is not equal,
9
10
00:00:45,810 --> 00:00:47,270
well else.
10
11
00:00:47,730 --> 00:00:51,330
So if you had more conditionals to check you can continue with elif
11
12
00:00:51,330 --> 00:01:00,960
that, and elif this and that and so on, but if you're done you can use else print.
12
13
00:01:01,320 --> 00:01:06,630
So it has to be X is less than y
13
14
00:01:09,420 --> 00:01:11,970
and so we get x is greater than y.
1155
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.