Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
 
PREVIOUS NEXT
Tagged: #print #alphabets #python
ADD COMMENT
Topic
Name
5+2 =