EXAMPLE:-02

Check character is vowels or not

Source-code:

'''Check character is vowels or not '''

ch=input('Enter the character:')
if(ch=='a' or ch=='e' or ch=='i' or ch=='o' or ch=='u' or ch=='A' or ch=='E' or ch=='O' or ch=='I' or ch=='U'):
    print('Character is vowel')
else:

    print('character is not vowel')




Output



previous

Comments

Popular posts from this blog