+ 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
26 Réponses
+ 12
@James
You're right. Is corrected 👍
+ 10
@SAKSHI
Hahaha, ruby is the best! 😁
It is perfect 👌 thank you 😊
+ 9
@Katik Yeah that was a mistake.
+ 7
@LukArToDo here is my code
my lovely ruby make my code in a single line
https://code.sololearn.com/cjVqf2qqYWI3/?ref=app
+ 6
Here's mine
https://code.sololearn.com/cDi97xP38R7J/?ref=app
+ 6
Here's my ANOTHER attempt
Also, is this considered a one liner?
https://code.sololearn.com/csvTdIpbbfY1/?ref=app
+ 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
+ 5
my codes are pretty long... i am just a beginner xD
https://code.sololearn.com/WkrZD6hqA3cb/#js
+ 5
heres my py-one liner
https://code.sololearn.com/chL6yglOtF87/?ref=app
+ 5
+ 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")
+ 4
python is unbeatable:
https://code.sololearn.com/c3r7nxyIdvah/?ref=app
+ 4
https://code.sololearn.com/cUWnpi5g4zvb/?ref=app
+ 4
here is an updated version of the code
Thanks @Aneesha Rao for pointing out the errors
https://code.sololearn.com/c78ygYY02U0b/?ref=app
+ 3
Hey @qwerty
you just posted the link to the same post
+ 3
@LukArToDo thank u......!😀😀