This post explains how to print English Alphabets in both Uppercase & Lowercase using core Python.
Below is the ASCII values to print Alphabets,
Alphabets in Uppercase ASCII range: 65 to 90
Alphabets in Lowercase ASCII range: 97 to 122
Here is the entire Python script to print Alphabets in Uppercase & Lowercase:
# Print Alphabets in uppercase A to Z
print("Uppercase Alphabets:")
for i in range (65, 91):
print (chr(i), end = " ")
print (" ")
# Print Alphabets in lowercase a to z
print("Lowercase Alphabets:")
for i in range (97, 123):
print (chr(i), end = " ")
print (" ")
Output of the above program will be:
Uppercase Alphabets: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Lowercase Alphabets: a b c d e f g h i j k l m n o p q r s t u v w x y z