1 00:00:00,330 --> 00:00:08,040 So now after this definition, we will have to define the translated message. 2 00:00:10,260 --> 00:00:23,130 SDR method, which is taking key message and one more parameter, Modesta, and now here we are creating 3 00:00:23,130 --> 00:00:24,360 forced the. 4 00:00:27,160 --> 00:00:34,210 Translated as variable, which is equal to blank, we are taking characters, one which is equal to 5 00:00:34,210 --> 00:00:34,540 your. 6 00:00:37,000 --> 00:00:44,770 Later this year, we are taking characters, one which is equal to your first year, and then we are 7 00:00:44,770 --> 00:00:54,550 checking if your modesty is equal to double is equal to see the script, then for the critic. 8 00:00:54,570 --> 00:01:00,460 We are just using the same quarter and we just need to slap the keys and little strings are used. 9 00:01:00,510 --> 00:01:07,560 OK, so over here we are just seeing the gas, even comma. 10 00:01:08,110 --> 00:01:15,780 That one is equal to gas Maeva and gas. 11 00:01:15,820 --> 00:01:17,890 Even so we are just swapping the values there. 12 00:01:18,280 --> 00:01:23,440 And then the next thing is we are looping through its symbol of the given message. 13 00:01:23,650 --> 00:01:26,350 So for that we are using a for loop here. 14 00:01:27,230 --> 00:01:38,980 Why in our message to Star and for this we are using if the symbol is in uppercase in your gas even 15 00:01:39,670 --> 00:01:41,400 then and the symbol. 16 00:01:41,650 --> 00:01:55,630 So we take here the symbol index that is equal to your gas even dot find the SVM dot is right and use 17 00:01:55,630 --> 00:02:03,550 the upper function there and then check if your if I am dot is what you say. 18 00:02:04,330 --> 00:02:15,170 Translated Asgeir plus is equal to say take gas vivants index as dot apple. 19 00:02:15,940 --> 00:02:26,420 And if this is not true both for the L spot and see here translated Asgeir Plus is equal to gas vivants 20 00:02:26,470 --> 00:02:28,280 and Brakhage s. 21 00:02:28,300 --> 00:02:31,230 Why am I not you. 22 00:02:31,300 --> 00:02:39,450 Zello now come to the upper if any spottier and if the numbers are not the letters just added for you, 23 00:02:39,520 --> 00:02:44,290 just see translated estie r plus is equal to x y. 24 00:02:45,100 --> 00:02:51,760 And finally we are using a written statement translated Asgeir to be written by. 25 00:02:52,650 --> 00:02:59,030 That is the end of the translated messages to your method, then we are defining another, that is get 26 00:02:59,640 --> 00:03:08,240 random, feistier, and this method we are seeing the key is equal to the list in brackets. 27 00:03:08,340 --> 00:03:15,920 The letter of the year after which we are using our random dot shuffle. 28 00:03:16,470 --> 00:03:26,280 We are passing next year to be shuffled and then we are seeing little blank dot join the value of Peosta. 29 00:03:27,030 --> 00:03:28,140 Then we check. 30 00:03:28,230 --> 00:03:37,710 If name is equal to means on the score, then you're calling the main method over here.