Learn String Manipulation by Building a Cipher - Step 40

Tell us what’s happening:

Describe your issue in detail here.
Where do I use what it’s telling me?
Use the += operator to add a value and assign it at the same time to encrypted_text.

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
encrypted_text = ''
for char in text.lower():
    index = alphabet.find(char)
    new_index = index + shift
    encrypted_text = encrypted_text + alphabet[new_index]
    print('char:', char, 'encrypted text:', encrypted_text)

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.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

There is a line in your code where you add a value to encrypted_test

encrypted_text = encrypted_text + alphabet[new_index]

You can use += to make this code a bit shorter.