I would like to convert the string to an integers as shown below, separated by "." with a=1,b=2,...z=26
text = 'Hello World"
H.E.L .L. O W. O. R. L. D
---> 188.8.131.52.15 184.108.40.206.4
#split the words
text ="Hello world"
text = text.upper()
splitted_text = text.split(" ")
#map characters to integers
for x, y in zip(range(1, 27), string.ascii_lowercase):
I don't know how do I proceed from here.