User inputs a word. Programmesays if it has vowels or not
1
Expert's answer
2022-06-26T09:23:41-0400
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")
Comments
Leave a comment