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.
Read this for more info on how to write solution in Codewars
Remember to not use to much loops, they are slow.
I actually understand this
Bruh ๐
d = days
40 = cost per day
so if you want it in a clear way:
days * cost per day = total
d * 40
Nice, it looks almost exactly like mine.
This comment is hidden because it contains spoiler information about the solution