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.
don't mutate the list
same problem
This is the problem I'm having. Pass first test and fail 2 and 3. I think its the null, undefined aspect. I have code to rule out values which are NOT true but this still not working.
Same here.
Update: if this happens to you, copy your code to the clipboard, reset the kata and paste it right back down. Worked.
This comment is hidden because it contains spoiler information about the solution
The question sentence is wrong. "Write a code that gives out the total amount for different days(d)." It asks total money for different days. But code check minimum price on given day.
Ty byte I get it now. Took a min lol but I got it. thanks again.
If d>2 is true, it technically becomes 1, which means that it is
d*40-1*20
if you see what I mean. And the opposite if (d>2) is false, which is 0. I hope this makes senseThis comment is hidden because it contains spoiler information about the solution
Hey, How did you pass this kata? I pass the first one and then when I click attemp, I fail 2 and 3
Please read this: https://docs.codewars.com/training/troubleshooting/ and mark your post as having spoiler content next time. Print the input, see why your code fails with that.
This comment is hidden because it contains spoiler information about the solution
it fails on the first two of the empty endings
This comment is hidden because it contains spoiler information about the solution
Because you forgot some parentheses and integers are not iterables.
Loading more items...