Hello! @m.elhuseyin
First, we are creating two variables “text” and “shift”. Then, we are creating a variable named “alphabet” and “index”.
In “index” variable we are trying to find the index/location of the “text[0]” (text variable) ie… the first element of the “Hello World” (h) in the alphabet variable using “alphabet.find()”. We use the lower() to convert it to the lower case.
Then we print the “index” variable. Now, In step-16 we are using the “+” operator to find the letter at index, “index + shift” which is “h + 3”.
So, we are creating a new var named “shifted” and assign it to “index variable + shift variable” along with the alphabet variable. Try to include the alphabet var with index + shift.
Hint:
hint
word = "kite"
shift = 2
text = "flyskyhigh"
index = text.find(word[0])
print(index) # index = 4
shifted = text[index + shift] # k + 2 which is h we include the text[]
print(shifted)
You can check for solution here:
REDACTED BY MOD
PS: Sorry for such a long explanation. Happy Coding!