For this Question: Write a program to check whether character is an alphabet or not using conditional operator.The first line of the input contains a character ch.

<b>Constraints</b>
'a', 'A' <= ch <= 'z', 'Z'Print "YES" if it's alphabet otherwise "NO".Sample Input :
a

Sample Output
YES, I have written this Solution Code: c = input()
if(c.isalpha()):
    print("YES")
else:
    print("NO"), In this Programming Language: Python, Now tell me if this Code is compilable or not?