DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+1 =
Submit