Sunday, 19 March 2017

How I write a function in python that determines whether a word has no vowels?

How I write a function "noVowel" in python that determines whether a word has no vowels?




In my case, "y" is not a vowel.



For example, I want the function to return True if the word is something like "My" and to return false if the word is something like "banana".

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...