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.
No teens there (unless anything below 20 is a teenager).
Switch to python version 3.8
This comment is hidden because it contains spoiler information about the solution
Because test cases use round(your_result), and None isn't valid argument for it. Just return 0 or something...
Without seeing your code, I'm guaranteeing it's because your code needs to be more efficient.
The
TEST
button runs your code you you can see if it works. But your solution also has to be fast enough to pass the more rigorous tests when you clickATTEMPT
.Hi, just a hint... sympy is not installed but gmpy2 is ;).
https://gmpy2.readthedocs.io/en/latest/mpz.html
sympy is not a standard module, and it's not installed on Codewars.
List of installed modules can be found here: https://github.com/Codewars/codewars.com/wiki/Language-Python
1/10 sec
Instructions are super vague/odd but if you look for patterns in that I trust you'll find it and the first thing you spot is probably what it is.
You also have the example tests to look at, as well as the rest of the test suite.
I don't know if you're still interested, but basically all I can say is, keep in mind that computer generation is only "pseudo-random." Try to think about how you can use that to your advantage.
Don't overthink it too much, it's just a 6kyu.
*
is used as a spread operatorGo to "Account Settings" and write the name of your new clan into the "Clan" field.
Same for me. My program counts s twice, although it clearly is one
he's already reported
Loading more items...