Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ord() in python

'''note the integer representation of unicode character 
of capital letters and small letters are completely different'''

# example
print( ord('A') ) # output 65
print( ord('a') ) # output 97
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+9 =