Write a program that accepts a string as input, then prints out the vowels in that string

Question:

Write a program that accepts a string as input, then prints out the vowels in that string and then prints the consonants in that string.

>>> splitem("elephant")

Vowels: eea

Consonants: lphnt

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: