Tell us what’s happening:
how can i do this? i already added print(char==‘’) like what it is needed to be, but it just cannot pass. i dont understand, please help me, thank you
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
*alphabet = 'abcdefghijklmnopqrstuvwxyz'*
*encrypted_text = ''*
*for char in text.lower():*
* print(char=='')*
* index = alphabet.find(char)*
* new_index = index + shift*
* encrypted_text += alphabet[new_index]*
* print('char:', char, 'encrypted text:', encrypted_text)*
### Challenge Information:
Learn String Manipulation by Building a Cipher - Step 40
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/step-40