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.
O enunciado pede que a palavra seja dividida individualmente em cada caractere e o espaço dentro do split garante que isso aconteça.
This comment is hidden because it contains spoiler information about the solution
A nice little python exercise
Because the objects are already given and you're overwriting them with your code. Just access the objects to get their values. Remove those first two lines from your code, then you'll have to fix something else, but that's unrelated to this.
Hello, my code works in VS code and in Browser.
But the question is there are only three values provided in each object and because of that the codewars returns error for other names that are not provided in the example.
This comment is hidden because it contains spoiler information about the solution
I think it's bad practice to modify a parameter within a function unless that's the purpose of the function.
This comment is hidden because it contains spoiler information about the solution
Rust translate
Simplest method of all
The description says that if you deposit 20 pence, the machine should return 20 pence and not change it. And when solving a kata, an error occurs, and you need to exchange 20 pence for 10. I think the description needs to be corrected, or the test options need to be adjusted.
There are a few issues with the description: for example, "it returns change in 20p and 10p coins in the minimum amount of pieces" is false, and I didn't realize on first reading that only one coin is accepted at a time. I've made a fork with some quick improvements here.
approved
definitely harder than 8 kyu
hi y'all i hope you're having a good day
Loading more items...