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.
This comment is hidden because it contains spoiler information about the solution
lol the java script guys...
you must either accept ONLY THE SMALLEST denominator or ANY, you can't just expect us to gess the level of fraction simplification that's required for a given test.
reading the comments seems like there are a lot of people suffering from dislexia on this website (i'm talking about people complaining about "code" and "wasr")
and they aren't even trying to check the other comments before posting.
It makes me depressed
How have do you converted it to normal int? I'm trying to do
[[int(j) for j in result[i]] for i in range(9)]
or with map() to convert from numpy to a list of ints and it's slowing down too muchEdited : i've used arr.tolist() but it's still too slow ;_; guess my solution is not good enough
This comment is hidden because it contains spoiler information about the solution
the tests for python are really lacking. I've made like 5-6 wrong versions that were all submitable
you shoud porbably mantion that the prolem is a sintax error, because I have a feeling that this will end up been a 8 kyu kata and the beginers will be confused as hell when they see this OOP stuff
lol i was thinking it will be more interesting
lol, if you solve it like you did, sure, it is fondamental. But your solution is funny.
You're lying -_-
Should I try to finde a mathematical logic in the final result's list and than apply the formula or should I optimise my algorithme?
It seems there is a problem with the test with the python, when I try to print the variable name and return nothing, the test shows stuff like this
to_chemical("")
Log
admiraal
to_chemical("admiraal")
Log
codewars
to_chemical("codewars")
Log
nam
to_chemical("nam")
Log
namo
to_chemical("namo")
Log
dsb
to_chemical("dsb")
Log
hiphop
to_chemical("hiphop")
Log
baga
it seems the test is one step behinde the actual test (sorry if it's unclear)
ah, sorry
Are we supposed to write the Mendeleiev's table by hand? (please no)
Loading more items...