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.
wont even let me use shift and pop.. darkness
is array.flat() not supported?
p and k are the same value? i'm confused. promt is confusing.
why would u want a None value to return False?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
cereal??
the test IS bad though. sometimes it expects a space after \n and sometimes it does not.
I also completed this kata but could not pass the tests because my string doesn't have the same " " as the test, and there was no clear instruction for how he wants that or why it changes betwee values 1 and >1
center around the max value. the max value is already provided.
from a number theory perspective, negative numbers should not be invalid inputs.
a '1' in the 10's column would equal 10.
a '-9' in the 1's column would equal -9
you can combine these to sum 1 in theory.
Or am I wrong?
the last line
return r[0] if r else -1
high, I started coding a month ago and couldn't find the answer to my question on google.
what are you telling the computer with this? return R if R exists; if R is not None?
This comment is hidden because it contains spoiler information about the solution