Hi community. I’m really struggling with step 43, I don’t think I’m interpreting the instruction correctly hence I’m not ‘calling’ the required code. I’ve attempted various configurations still not getting it.
Instruction: " Now, instead of printing 'space!' , use the addition assignment operator to add the space (currently stored in char ) to the current value of encrypted_text ."
You have an if statement but nothing is indented below it
You have some other lines of code after the if statement and before the line where you add char to encrypted_text. That line looks correct, I think it might need to be indented below the if
Yes, the space they are talking about, is the empty space that shows on the console screen (black screen, that shows hello world). So put that code on line 8, so it’s then my line of code on line 8 and then indent it.
The instructions are frustrating, I have been having trouble understanding what they are asking.
If you ever find the instructions confusing, just create a topic on the forum and ask about it. Someone will explain it and good feedback will be used to improve the lessons.
Hello,
i understood the part of adding += char to encrypted_text
like this:
— removed — (and also delete line 8 ) but the indentation part below the if loop wasn’t self explanatory.