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.
It'd work anyways.
This comment is hidden because it contains spoiler information about the solution
i like this solution cleaner and clear
Thanks!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's because you didn't use elif. But it shouldn't matter if you return the price instead of printing it, return ends the function.
This comment is hidden because it contains spoiler information about the solution
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.
Aside from syntax, which could be better readable, I believe this to be a Best Practice. Congrats.
nice work :) and can anyone see my code
Oh so it's basically 1 * 40, 2 * 40 and so on. Thanks.
This comment is hidden because it contains spoiler information about the solution
Loading more items...