Learn String Manipulation by Building a Cipher - Step 19 i am getting the error message below

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

Sorry, your code does not pass. Hang in there.

You should add print(i) to your for loop body. Pay attention to the indentation.

i am getting this error message with the above code commands


# User Editable Region

# Deleting the number variable and its value
if 'number' in locals():
    del number

# Declare a new variable called 'text' and assign the string "hello world"
text = "hello world"

# Iterate over each character in 'text' using a for loop
for i in text:
    # Print the current character in 'text' with proper indentation
    print(i)




# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 19

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.

Sorry, your code does not pass. Hang in there.

You should add print(i) to your for loop body. Pay attention to the indentation.

i am getting this error message with the above code commands

Hi @bgpeze

You seem to have removed some of the existing code.

Please reset the step, then enter the print call, without modifying the existing code.

Happy coding

Please do not open multiple topics for the same step:
https://forum.freecodecamp.org/t/i-am-stuck-on-this-step/666764

This is the second time you’ve done this