Learn String Manipulation by Building a Cipher - Step 23

Tell us what’s happening:

Where my fault i try so much time could you help me step 23 Learn String Manipulation by Building a Cipher

Your code so far


# User Editable Region

ptext = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'

for i in text:
print (i)
   

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/24.0 Chrome/117.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 23

Hi @asilawad9.b !

For things like loops and if statements, indentation is really important, so the loop recognises the indented content as part of the loop.

for a in b:
    # code that's going to run in this loop

For functions, there cannot be a space between the function name and

function(arguments)

So here you’ll need to indent your print statement, and remove the space between your function name and the argument for it

Happy coding!

I will try now thank youu


Still same ,I feel like a fool :sneezing_face:

I found ıt damn it the first line near the text “p” isnt uninvited :no_mouth:

1 Like