Question #322236

User inputs a word. Programmesays if it has vowels or not

Expert's answer

inp_string = str(input())
VOWELS = 'aeiou'
for i in range(5):
    if VOWELS[i] in inp_string.lower():
        print("There're vowels")
        break
else:
    print("There aren't vowels")
LATEST TUTORIALS
APPROVED BY CLIENTS