I don’t understand why not correct? Please help me.
<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
Replace this line with your code.
<do not remove the three backticks above>
Perhaps it doesn’t like the way you formatted that. My first guess would be the space between the function name and its parentheses. My second would be about the code inside the loop, instructions don’t say to add any, and they are also not indented to match the curly braces.
As you can tell from the output, what you wrote does compile and run, probably even behaves like you want. So “correct” becomes a matter of matching expectations, making it as similar as possible to what’s asked for.