Python
ch = input("Enter a Character:\n ")
Try it Yourself ➠
Output :-
Character is Alphabet or Not in PYTHON
16 May
4
Write a program (WAP) in PYTHON to read two numbers from keyboard(User Input) to know a character is Alphabet or Not.
ch = input("Enter a Character:\n ")
if((ch>='A' and ch<= 'Z') or (ch>='a' and ch<='z')):
print(ch, "is an ALPHABET")
else:
print(ch, "is not an ALPHABET")
Try it Yourself ➠
Output :-
When the above PYTHON program is compile and executed, it will produce the following result,
i. Alphabet - Uppercase
ii. Alphabet - Lowercase
iii. Not alphabet - Number
iv. Not alphabet - Special Character
Must Read :-
Previous article
Next article
visualcv says
ReplyDeleteThat a very valuable information, now i got the point where i got stuck and why
Admin Says :
DeleteThnxxx Dear :)
We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming , aws training , ccna training (7+ years) will ensure that we will deliver our best in python training in chennai. , and we believe that no one matches us in this context.
ReplyDeleteccna training in chennai
aws training in chennai
aws devops training in chennai
python training
python training in chennai
Boarding School in Dehradun
ReplyDeleteInternational Residential School in India
Top CBSE Boarding schools in India
Boarding School in India with hostel
best boarding school for girls in India
Importance of B.Tech in the Present Era
Which is the best college for BBA?
Importance of B Tech in the Present Era
dehradun Engineering College
Best College in Dehradun