I have done this to fix it but it is not passed
new_index = (direction * offset) % len(alphabet)
What should i have to do!
I have done this to fix it but it is not passed
new_index = (direction * offset) % len(alphabet)
What should i have to do!
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Hi @MrSanyi
Please reset the step to restore the original code.
You removed the index
variable.
Just multiply offset
by direction
without altering any of the other code.
Happy coding
i didn’t understand
You removed the index
variable, so you need to reset the step.
Restoring the code will return the missing variable.
Then using the multiplication operator, multiply offset
by direction
.
The code is checking for a specify sequence, so you need to follow the instructions exactly.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.