Answers for "print all alphabets from a to z in python"

0

print all alphabets from a to z in python

alphabet = [];
# ord represent the character unicode code, A to 65
# chr convert 65 to A
#variable alphabet get all value
for i in range(ord('A'), ord('Z') + 1):
   alphabet.append(chr(i))
print(alphabet)
#ganesh
Posted by: Guest on October-23-2021

Code answers related to "print all alphabets from a to z in python"

Python Answers by Framework

Browse Popular Code Answers by Language