Input:
A digit or a letter of the alphabet
Output:
Displays whether the given output is an integer or a letter of the alphabet
Sample input:
1
Sample output:
Integer
Sample input:
b
Sample output:
Alphabet
if type(int(inp)):
print(‘Integer’)
else:
print(‘Alphabet’)
New contributor
SANKET KAMBLE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.