Friday 22 November 2019

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

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...