added
most users disagree, you can join beta process if you want to have your voice heard:
{ "data": [ { "rank": -7, "count": 21 }, { "rank": -6, "count": 9 }, { "rank": -5, "count": 3 }, { "rank": -8, "count": 2 }, { "rank": -4, "count": 1 } ] }
read here: https://docs.python.org/3/library/string.html#formatspec
If you can find a concrete objective flaw with any part of the kata, you could use that as the basis for posting an issue, otherwise such a reaction to its perceived value is merely a subjective opinion.
issue
The numbers are actually correct
item | pts | free| pay 0 | 31 | 1 | 0 1 | 26 | 2 | 0 2 | 21 | 3 | 0 3 | 16 | 4 | 0 4 | 11 | 5 | 0 5 | 6 | 6 | 0 6 | 1 | 7 | 0 7 | 2 | 7 | 1 8 | 3 | 7 | 2 9 | 4 | 7 | 3 10 | 5 | 7 | 4 11 | 0 | 8 | 4 12 | 1 | 8 | 5 13 | 2 | 8 | 6 14 | 3 | 8 | 7 15 | 4 | 8 | 8 16 | 5 | 8 | 9 17 | 0 | 9 | 9 18 | 1 | 9 | 10 19 | 2 | 9 | 11 20 | 3 | 9 | 12 21 | 4 | 9 | 13 22 | 5 | 9 | 14 23 | 0 | 10 | 14 24 | 1 | 10 | 15 25 | 2 | 10 | 16 26 | 3 | 10 | 17
Thanks for the suggestion. The current rank will stay.
This comment is hidden because it contains spoiler information about the solution
i know man, same boat, i can't get the pattern since it only gave one example
Can you provide a snippet of your wrongly submitted code that passes all test cases or suggestion on any potential edge cases ?
Because 22 is not a prime number but 23 is, and all digits in 23 --> 2 && 3 are primes too
math :)
Total Completed Kata: 8,604
:whistling:
You can use regular dicts, but you'll need to add a bunch of annoying lines of code. Just try to rewrite it, you'll see.
it avoids the if/else boiler plates.
Loading collection data...
added
most users disagree, you can join beta process if you want to have your voice heard:
{
"data": [
{
"rank": -7,
"count": 21
},
{
"rank": -6,
"count": 9
},
{
"rank": -5,
"count": 3
},
{
"rank": -8,
"count": 2
},
{
"rank": -4,
"count": 1
}
]
}
read here: https://docs.python.org/3/library/string.html#formatspec
If you can find a concrete objective flaw with any part of the kata, you could use that as the basis for posting an
issue
, otherwise such a reaction to its perceived value is merely a subjective opinion.The numbers are actually correct
Thanks for the suggestion. The current rank will stay.
This comment is hidden because it contains spoiler information about the solution
i know man, same boat, i can't get the pattern since it only gave one example
Can you provide a snippet of your wrongly submitted code that passes all test cases or suggestion on any potential edge cases ?
Because 22 is not a prime number but 23 is, and all digits in 23 --> 2 && 3 are primes too
math :)
:whistling:
You can use regular dicts, but you'll need to add a bunch of annoying lines of code. Just try to rewrite it, you'll see.
it avoids the if/else boiler plates.