Question: PYTHON vowelCheck- Check input (string) and determine if stringcontains vowels or consonants . I keep getting err. Provide source code. Thanks Ethe.py def vowelcheck ():

PYTHON vowelCheck- Check input (string) and determine if stringcontains vowels or consonants . I keep getting err. Provide source code. Thanks

Ethe.py def vowelcheck (): 1 = input ("Enter a word: ") if

Ethe.py def vowelcheck (): 1 = input ("Enter a word: ") if 1 in ('a,e,i,o,u,y') : return ("Your word contains a vowel" else: Run the return ("Your word has only consonants print (vowelcheck () ) tory4] /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /Users/Pratyusha Enter a word: garden Your word has only consonants Process finished with exit code 0

Step by Step Solution

3.39 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Python version 36 Python program to check if the input ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!