Week 3 exercise 5 prpblem

I am not able understand why I am getting this error ?
In the week 3 programming assignment Exercise 5

Error : - Cell #UNQ_C5. Can’t compile the student’s code. Error: IndentationError(‘unexpected indent’, (‘/tmp/student_solution_cells/cell_28.py’, 63, 4, ’ return total_cost\n’))

Can anybody helps me in the finding out my error…

OR provide me the correct answer.

Hi @sanket21,

Please google a Python tutorial and learn indentation. You may also check this post out.

Also, we don’t share assignment code and we submit our own original work. You may check out this page for the details about Honor Code and Plagiarism.

Screenshot from 2022-08-09 16-22-41

P.S. I removed your code from your post.