Data Analysis with Python Projects - Demographic Data Analyzer

Tell us what’s happening:
I keep getting an IndentationError: unindent does not match any outer indentation level error in the ‘return {’ section of my code, when I run my code even though I have not modified this section of the code just like the instructions say.

Please help…been unable to pass the tests for about 2 days now!

Your code so far
Link to my repl: demographic-data-analyzer - Python Repl - Replit

Your browser information:

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

Challenge: Data Analysis with Python Projects - Demographic Data Analyzer

Link to the challenge:

You’ll have to either post your code in a code block (use the </> option on the gear button in the post editor) or preferably post a link to your code in a repl.it. As it is, the indentation of the code in your post is lost so it’s impossible to help.

Thank you very much!

Link to my repl: demographic-data-analyzer - Python Repl - Replit

I assume you fixed it since I forked the link repl and could not reproduce the error.

Yes! I was finally able to fix it…it actually had to do with my spaces and indentation and because of my computer screen, I had the code editor opened to only about half the actual size and didn’t realize there were indentation issues till I maxed the code editor window. Thank you very much!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.