Share your repls and programming experiences

← Back to all posts
My First python
AbhayBhat (95)

Enter a string and prints out all the vowels that are in the string

Commentshotnewtop
Muffinlavania (669)

i would do what Centslord said, and i would, if you want, make it so it prints out the vowels in a singular line, like this:

hiduawfb
i, u, a

You would do this like this

for vowel in found:
   print(vowel, end=", ")
Centslord (99)

Interesting! I have a suggestion to make: Write how many times each vowel appears!
For example if I wrote aaeee, it would say:
2a
3e