I’ve replaced the A’s but I’m receiving an error about my output, what’s wrong?


#1

Question

I’ve replaced the A’s but I’m receiving an error about my output, what’s wrong?

Answer

A very common issue here is forgetting to include the comma , at the end of the print statements inside the if and else. Without these, your output will be displayed on a new line! We want the output to all be on the same line.
Remember, Codecademy checks for exactly what it asks for, so if you’re missing a small detail like that, it will be marked wrong until it’s resolved.


FAQ: Learn Python- Loops - For your A