Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
If this was solved on your own and not via GPT Chat, you are a genius.
There's a mistake here. I had to write it that way, otherwise it wouldn't accept the answer. You need to correct the comparison character in the next line:
if (rent_day >= 7) return total_amount = (rent_day * rent_day_price) - 20;
You are correct, I changed the comparison symbol and the problem became correct. The error is in the problem itself.