C1 w3 assignment grade issue

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook)
    *hello,

I’m trying to submit for grading but it gives 0% while my score is 4/5(80%) and I’m passed:(

ERROR:

Cell #[UNQ_C3]. Can’t compile the student’s code. Error: IndentationError(‘unindent does not match any outer indentation level’, (‘/tmp/student_solution_cells/cell_13.py’, 42, 18, ’ z_wb += b\n’))

THIS IS MY LAB ID:

ezvuzqouyzst

I tried for it to fix the problem or my coding but I don’t know the meaning of the error.

please help me fix my issue

thanks

hi @phytophillous

An Indentation error is a compile-time error that occurs when tabs or spaces in a code do not follow expected patterns.

So check if your codes are spaced as per instructions. Like when use to create any loop statements, placing the next code line is not at right place.

Hope it helps!!

regards
DP

1 Like

If you copied any of the “Hint” code sections, be careful that you fix the indentation errors in the hints. There are unprintable codes in the hints that cause the parser to be unhappy.

If you see any code that is displayed as a red font, that is a clue to this issue.

You can fix this by deleting all of the whitespace in that line and then reinserting the correct indentation using the tab key.

1 Like

yeah I tried to fix some of my whitespaces and the problem resolved.
thanks a lot!

1 Like

Nice work!