Python Program using function that takes character and returns true if its vowel.
#Python Program using function that takes character and returns true if its vowel.
def vowels():
vow=['a' , 'e' , 'i' , 'o' , 'u']
if N in vow:
print(True)
else:
print(False)
N=input("\nEnter a character:").lower()
vowels()
def vowels():
vow=['a' , 'e' , 'i' , 'o' , 'u']
if N in vow:
print(True)
else:
print(False)
N=input("\nEnter a character:").lower()
vowels()
Comments
Post a Comment