Write a python function named numvowels that is passed a


Question: Write a Python function named numVowels that is passed a string containing letters, each of which may be in either uppercase or lowercase, and returns a tuple containing the number of vowels and the number of consonants the string contains. Be sure and use either a set or dictionary in this method.

Solution Preview :

Prepared by a verified Expert
Python Programming: Write a python function named numvowels that is passed a
Reference No:- TGS02371490

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)