Convert alphabet letters to number in python
Posted
by
altin
on Stack Overflow
See other posts from Stack Overflow
or by altin
Published on 2010-12-25T01:36:45Z
Indexed on
2010/12/25
1:54 UTC
Read the original article
Hit count: 431
python
Can someone help me finish this
characters = ['a''b''c''d''e''f''g''h''i''j''k''l''m''n''o''p''q''r''t''u''v''w''x''y''z']
numbers = ['1''2''3''4''5''6''7''8''9''10''11''12''13''14''15''16''17''18''19''20''21''22''23''24']
text = raw_input(' Write text: ')
Ive tryed to many ways but couldnt get to the pint, I want to make exc if i type hello the output to be in numbers lined like in alphabet... example a = 1 < in alphabet
Can anyone give ideas ? or help sth ?
© Stack Overflow or respective owner