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
This comment is hidden because it contains spoiler information about the solution
lol I forgot to put the result of the fourth example for
parse_int
...-1 byte if you remove the space after the
:
oh this is not code golf? /j
This comment is hidden because it contains spoiler information about the solution
tell me if it's possible to do shorter /gen
i play golf
in fact, this imports still the whole module technically speaking
lol even the syntax coloring said no
This is not worse.
__str__
method, so that's fine, there is no undetermined behavior.str(b)
is as clear, and more staightforward than using a conditional structure.This comment is hidden because it contains spoiler information about the solution
Well that's great this kata made me discover the existence of
float.is_number()
This comment is hidden because it contains spoiler information about the solution