0
Encryption of a word by a index value
I want to encrypt a word, only alphabets not space or digits For example : input = abcde 54 value = 2 expected output = cdefg 54 input = hai value = 25 expected output = gzj 25 bUt i cant get expected output..plz help me https://code.sololearn.com/ceyqZvdG1cln/?ref=app
2 Answers
0
if i in [' ', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0']:
or
if i in " 1234567890":
0
thank you