@lakshayarora7/

AcceptableThistleClam

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
# A simple Python program to determine whether the entered letter is a vowel or a consonant.
letter = input("Enter a letter: ")

if letter in 'aeiouAEIOU':						# using the membership operator 'in'
	print(letter, "is a vowel.")
else:
	print(letter, "is a consonant.")