Course 1 Week 2 error despite all tests being passed

I was finally able to complete the Course Week 2 Programming assignment successfully getting All Tests passed messages. But then was surprised to see a score of 0 with the following message that I cannot seem to find where this code could be getting executed:

Cell #2. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student_solution_cells/cell_2.py’, 7, 11, ‘- You would like to expand your business to cities that may give your restaurant higher profits.\n’))

Something is goofed up as I cannot locate this message in the assignment. Please help.

Hello @AjayaGummadi,

I think you had unintentionally turned a Markdown cell into a code cell. We need to change it back.

Raymond

Thanks much Raymond - I checked and changed back to markdown where it was code not to be executed (I had more than one of those); with that change this Lab has now been successfully completed. Phew!!!

Lessons learned: Classic conundrum of tabs vs. spaces, pay attention to markdowns vs. code…Next Lab will not have these snafus… Thanks much for all of your help and patience!

Hello @AjayaGummadi,

I am glad that you managed to change everything back :wink:

Cheers,
Raymond