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.
I see. Thank you.
Sergio, this returns true when divisors x and y leave the same remainder, right?
e.g. (11 % 2) == (11 % 5) // (1 == 1) true
but 11 is divisible by neither 2 nor 5, and should return false.
Oh thanks i didn't even think about it as unsafe. Just learned it from 'reverse string challenge' with limited characters. And this kumite is honestly, but a test. Was wondering what is this, found out after submitting. I'll find a way to delete it, i guess.
You basically defined a function without any declaration. I feel like you should know the many dangers involved with that practice. Check out this link for more information.
https://www.sololearn.com/Discuss/2191625/javascript-arrow-functions-with-and-without-const
Yep, but with map, you dont need to use
for
herei want pizza
It's the same thing
def print_statements():
# Printing lines of code:
data = ["Hello Mark!","This is my first python script.","Python will be fun to learn!","I am not at COGS","I am at home in my jammies."]
print("\n".join(data))
Ok I've reverted the PHP and Javascript back to camelCase
Sorry I must have slipped upt while doing something dumb. I've fixed it.
Fixed, sorry that must have slipped by
( JS )
Random tests compare user answer to itself. Should use a reference solution.
I checked it.
assert.strictEqual(microwave_least_moves(random.join(':')), microwave_least_moves(random.join(':')))
The random tests compare the user answer to itself, instead of against a reference solution.
That's not how it's done.
For me it's easier to understand test cases.
Loading more items...