this gives me assertion error
{moderator edit: code removed}
this gives me assertion error
{moderator edit: code removed}
Dear Abhay_Gulhane,
Thank you very much for your question. You did not indent the lines after you start the for loop (if that is what you intend to do). Make sure to check the operations you are doing in the for loop as well. As an example, cost = cost = … seems to be redundant.
If you have more question, please let us know!
All the best,
Kiavash
Two comments: