Ask coding questions

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

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

Voters
TejasvMaheshwar
Comments
hotnewtop
Coder100

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

From line 9

TejasvMaheshwar

How does this work can you explains pls? @Coder100