Use the ord
and chr
functions. Changing a letter to the next would be something like
next_letter = chr(ord(letter) + 1)
2
solved How would I make an encrypt code in Python? [closed]
Use the ord
and chr
functions. Changing a letter to the next would be something like
next_letter = chr(ord(letter) + 1)
2
solved How would I make an encrypt code in Python? [closed]