Tell us what’s happening:
Beschreibe hier dein Problem im Detail.
Your code so far
/* User Editable Region */
text = "Hello World2
shift = 3
alphabet = "abcdefghijklmnopqrstuvwxyz"
index = alphabet.find(text[0].lower())
print(index)
shifted = index + shift
print(shifted)
/* User Editable Region */
Your browser information:
User Agent ist: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 16