+ 18
[CHALLENGE]Encrypt the sentence
Given a Sentence,write a code to encrypt the sentence based on the following rules: 1.The words at odd position should be reversed. 2.The words at even position should have all the vowels(in same order they appear in the word)at the beginning,followed by the consonants. E.g: sentence="the sun rises in the east" encrypted_sentence=" eth nus ierss ni eth tsae"
8 Answers
+ 19
Thank you for confirmation đ
Here's my try :
https://code.sololearn.com/c9h7avQeSw4L/?ref=app
+ 14
Nice challenge đ
The word position counts from 0 (first word = position 0, second word = position 1, etc).
Right?
+ 9
@~ swim ~
great!!
Thanks for taking partđ
+ 5
@LukArToDo Yes you are rightđ
+ 5
Niceđ
Thanks alot for taking partđ
+ 2
Give me some time I will Make it according to your rules.till then check this out.
I have made this a couple of days ago ago.
https://code.sololearn.com/c0uMRM12sc7Q/?ref=app
+ 2
SHAIKH SALMAN Sure đđ