Ask coding questions

← Back to all posts
Is there any way to reverse this code
TejasvMaheshwar (7)

By reverse i mean , we take the output from this one and when we put in back in the revsered code we get the original input

Comments
hotnewtop
Coder100 (18920)

Yeah sure, just do alphabets[(index + 1) % len(alphabets)]

From line 9

TejasvMaheshwar (7)

How does this work can you explains pls? @Coder100