+ 30

CHALLENGE: REARRANGE STRING 💻⌨️🖱️

Level : easy Task: Create input as string with 30 randomly characters (lowercase). Rearrange input on next way: 1. Put space after each vowel 2. Capitalize first letter of each word in string. Show us input and final string. All languages are welcome! 😉

12th Dec 2017, 9:07 AM
LukArToDo
LukArToDo - avatar
26 Respuestas
12th Dec 2017, 6:42 PM
bedawang
bedawang - avatar
12th Dec 2017, 9:07 AM
LukArToDo
LukArToDo - avatar
12th Dec 2017, 10:11 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 19
https://code.sololearn.com/cJ6a1YUM2yq9/?ref=app
12th Dec 2017, 11:14 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 14
Here's mine, the string changes everytime you run the code https://code.sololearn.com/clAVmYsRZZvS/?ref=app Spam and eggs, people....
12th Dec 2017, 5:32 PM
Justine Ogaraku
Justine Ogaraku - avatar
12th Dec 2017, 10:57 AM
David Akhihiero
David Akhihiero - avatar
12th Dec 2017, 11:41 PM
AZTECCO
AZTECCO - avatar
+ 10
@Stoyan Nice code, but put space after each vowel instead before each vowel 😊
13th Dec 2017, 1:03 PM
LukArToDo
LukArToDo - avatar
13th Dec 2017, 11:57 PM
Ferhat Sevim
Ferhat Sevim - avatar
+ 8
Here's my try in 🐍 Check it out! https://code.sololearn.com/cN9rkPXXKUAP/?ref=app
12th Dec 2017, 2:43 PM
Kartik
Kartik - avatar
+ 8
https://code.sololearn.com/c8k1xVMR9jqT/?ref=app
13th Dec 2017, 5:20 AM
Marfik Em
Marfik Em - avatar
+ 7
Loopy one here! The string is fully up to you. Input it and have fun. Edit: While testing here, I saw the inputs only work until 24 characters. I tried my best, though 😊 https://code.sololearn.com/ckSftyEnjwDp/?ref=app
13th Dec 2017, 1:05 AM
Jonathan Álex
Jonathan Álex - avatar
13th Dec 2017, 10:46 AM
Hiroki Masuda
Hiroki Masuda - avatar
+ 6
Python oneliner: EDIT: updated to comply with 30 random chars rule, didn't see that. https://code.sololearn.com/cnDLNnR1shsO/?ref=app
12th Dec 2017, 9:46 PM
LunarCoffee
LunarCoffee - avatar
13th Dec 2017, 3:48 PM
Cuttek
Cuttek - avatar
13th Dec 2017, 10:21 PM
Luc Hariman Randrianomenjanahary
Luc Hariman Randrianomenjanahary - avatar
+ 5
@Jonathan for me it is working but problem starts when input end with vowel... try it yourself :-) and also first character is not capitalized even it is start of first "word". but it is a nice, easy to read code :-)
13th Dec 2017, 5:02 AM
Karol Gašparík
Karol Gašparík - avatar
12th Dec 2017, 9:00 PM
Karol Gašparík
Karol Gašparík - avatar
13th Dec 2017, 12:59 PM
Stoyan Todorov
Stoyan Todorov - avatar
+ 4
My try (So late, but i don't like missing good challenges ! ) : https://code.sololearn.com/cqRDAMrFq63i/?ref=app
24th Mar 2018, 1:04 AM
Med Arezki
Med Arezki - avatar