Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python letter to number in alphabet

l = "web"
n = []
for x in l:
   n.append(ord(x) - 96)
print(n)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #python #letter #number #alphabet
ADD COMMENT
Topic
Name
6+1 =