+ 22

CHALLENGE: ALL VOWELS 🤔➡️🤓

Task: Find out if the given string contains all vowels. Example: Input: "Audiometry" Output: yes Input:"A genus of sea sponges" Output: no Input: "Sololearn" Output: no All languages are welcome! https://code.sololearn.com/cX3hGI1MV4bn/?ref=app

22nd Nov 2017, 7:26 AM
LukArToDo
LukArToDo - avatar
26 Answers
22nd Nov 2017, 7:58 AM
David Akhihiero
David Akhihiero - avatar
+ 12
@James You're right. Is corrected 👍
22nd Nov 2017, 7:34 AM
LukArToDo
LukArToDo - avatar
23rd Nov 2017, 6:04 AM
Oma Falk
Oma Falk - avatar
+ 10
@SAKSHI Hahaha, ruby is the best! 😁 It is perfect 👌 thank you 😊
23rd Nov 2017, 12:14 PM
LukArToDo
LukArToDo - avatar
+ 9
@Katik Yeah that was a mistake.
22nd Nov 2017, 8:05 AM
qwerty
qwerty - avatar
+ 7
@LukArToDo here is my code my lovely ruby make my code in a single line https://code.sololearn.com/cjVqf2qqYWI3/?ref=app
23rd Nov 2017, 12:06 PM
SAKSHI
SAKSHI - avatar
22nd Nov 2017, 8:02 AM
Kartik
Kartik - avatar
+ 6
Here's my ANOTHER attempt Also, is this considered a one liner? https://code.sololearn.com/csvTdIpbbfY1/?ref=app
22nd Nov 2017, 8:17 AM
Kartik
Kartik - avatar
+ 5
my try in Python ✌, you bet: https://code.sololearn.com/cUYIt4NVSsIe/?ref=app CHECK IT OUT. it catches tricks like : input: ZdEiPoUw output : No input : keIOauUXvi output: Yes
22nd Nov 2017, 8:42 PM
Justine Ogaraku
Justine Ogaraku - avatar
+ 5
my codes are pretty long... i am just a beginner xD https://code.sololearn.com/WkrZD6hqA3cb/#js
23rd Nov 2017, 3:39 AM
Ng Ju Ping
Ng Ju Ping - avatar
23rd Nov 2017, 4:46 AM
sayan chandra
sayan chandra - avatar
23rd Nov 2017, 10:16 AM
Günter
Günter - avatar
+ 4
My Answer! """ CHALLENGE: ALL VOWELS 🤔➡️🤓 Task: Find out if the given string contains all vowels. Example: Input: "Audiometry" Output: yes Input:"A genus of sea sponges" Output: no Input: "Sololearn" Output: no All languages are welcome! https://code.sololearn.com/cX3hGI1MV4bn/?ref=app """ vowels = ["a", "e", "i", "o", "u"] string = input("Enter the string: ") print(string) string = string.lower() for vowel in vowels: if vowel not in string: print("No") break else: print("Yes")
22nd Nov 2017, 11:08 AM
Gwakchang💻
Gwakchang💻 - avatar
23rd Nov 2017, 10:26 AM
yuri
+ 4
https://code.sololearn.com/cUWnpi5g4zvb/?ref=app
25th Nov 2017, 9:41 AM
Raksha Pawar
Raksha Pawar - avatar
+ 4
here is an updated version of the code Thanks @Aneesha Rao for pointing out the errors https://code.sololearn.com/c78ygYY02U0b/?ref=app
28th Nov 2017, 1:57 PM
Raksha Pawar
Raksha Pawar - avatar
+ 3
Hey @qwerty you just posted the link to the same post
22nd Nov 2017, 8:04 AM
Kartik
Kartik - avatar
+ 3
@LukArToDo thank u......!😀😀
25th Nov 2017, 7:22 AM
SAKSHI
SAKSHI - avatar