Challenge : extract vowels from a String. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
11 Answers
+ 9
https://code.sololearn.com/cI0TI5uFA5Fb/?ref=app
24th Sep 2017, 4:02 AM
Rick
Rick - avatar
+ 7
Lmao 1-liner why didn't think of that!
24th Sep 2017, 4:21 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
https://code.sololearn.com/cpGQdmQar9MF/?ref=app The end is only for putting in the same line
24th Sep 2017, 4:04 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
Np Binyam :) @Vengat Actually, I just edited binyam's code, thanks for your input👍
24th Sep 2017, 4:10 AM
Rick
Rick - avatar
+ 6
@$Vengat who's the new plat? @Rick or @Equar? either way Congrats!
24th Sep 2017, 4:11 AM
Ipang
+ 5
[print(i, end='') for i in input() if i in 'aeiou']
24th Sep 2017, 4:19 AM
ChaoticDawg
ChaoticDawg - avatar
+ 4
Congrats for platinum by the way
24th Sep 2017, 4:02 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Damn rick that was fast. But that len() is not necessary as we can simply do: for var in iterable, string is an iterable
24th Sep 2017, 4:06 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
Thank you @Rick, @$Vengat & @ChaoticDawg
24th Sep 2017, 4:07 AM
Binyam Equar
Binyam Equar - avatar
+ 3
Binyam
24th Sep 2017, 4:13 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
4th Oct 2017, 9:01 AM
Million Gashawbeza
Million Gashawbeza - avatar