Programming Problems doubleVowel Write a function doublevowel that accepts a word as an argument and returns True if the word contains two adjacent vowels and False otherwise. Sample usage: >>> doublevowel ('apple') False >>> doubleVowel ('pear') True >>> doubleVowel ('pear') True >>> doublevowe]('DURIAN') True >>> doublevowel ('baNaNa') False >>> doubleVowel ('baNaNa')== False True

icon
Related questions
Question
Programming Problems
doubleVowel
Write a function doublevowel that accepts a word as an argument and returns True if the word
contains two adjacent vowels and False otherwise. Sample usage:
>>> doublevowel ('apple')
False
>>> doubleVowel ('pear')
True
>>> doubleVowel ('pear')
True
>>> doublevowe]('DURIAN')
True
>>> doublevowel ('baNaNa')
False
>>> doubleVowel ('baNaNa')== False
True
Transcribed Image Text:Programming Problems doubleVowel Write a function doublevowel that accepts a word as an argument and returns True if the word contains two adjacent vowels and False otherwise. Sample usage: >>> doublevowel ('apple') False >>> doubleVowel ('pear') True >>> doubleVowel ('pear') True >>> doublevowe]('DURIAN') True >>> doublevowel ('baNaNa') False >>> doubleVowel ('baNaNa')== False True
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions