Strings!

in #ita2 months ago

import string

letters = string.ascii_lowercase

consonant = ''.join([letter for letter in letters if letter in 'aeiou'])

text = "many hands make light work."

find = ''.join([letter for letter in text if letter in consonant])

print('The vowels are: {}'.format(len(find)))

Sort:  

Hey @drago18121996, here is a little bit of BEER from @isnochys for you. Enjoy it!

Do you want to win SOME BEER together with your friends and draw the BEERKING.

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below