Learn String Manipulation by Building a Cipher - Step 16

I have the value of 10 from ‘index+shift’ but after searching the forum I’m unsure how to find the char found at value 10.

Update: I’ve tried ‘VAR= VAR[VAR+VAR]’ which prints k but still no progress.


/* User Editable Region */

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(text[0].lower())
print(index)

shifted = alphabet.find(alphabet[index+shift])
print(shifted)

/* User Editable Region */

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 16

I seem to have bugged the page…

try that your solution that i quoted.

Please do not post solutions on the forum. We are trying to reduce spoilers and should only offer guidance and hints to assist campers to find their own solutions.

Can you please elaborate? If the page isn’t loading correctly or there is missing buttons try refreshing/reloading or try opening it in a different browser

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.