Student name- Sachin Page no-6
Roll no- 48 D.O.P-19/09/2025
Course- BCA AI&DS
PROBLEM STATEMENT 6- Write a python program to check the type of
entered character from the user.
OBJECTIVE- To understand the implementation of entered character from the
user.
EXPLANATION- Identifying the category of the character that a user provides
as input.
SOURCE CODE-
ch = input("Enter a character: ")
if [Link]():
if [Link]():
print("The entered character is an Uppercase Alphabet.")
else:
print("The entered character is a Lowercase Alphabet.")
elif [Link]():
print("The entered character is a Digit.")
elif [Link]():
print("The entered character is a Whitespace character.")
else:
print("The entered character is a Special character.")
Student name- Sachin Page no-6
Roll no- 48 D.O.P-19/09/2025
Course- BCA AI&DS
OUTPUT-
Enter a character: A
The entered character is an Uppercase Alphabet.
Enter a character: z
The entered character is a Lowercase Alphabet.
Enter a character: 5
The entered character is a Digit.
Enter a character:
The entered character is a Whitespace character.
Enter a character: @
The entered character is a Special character.