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.
The conditions are reversed, while not exactly the same the function is continuos when n or m are 0 so, the result is the same.
I think here sould be 'OR' instead 'AND'. It said in task`s condition..
Clever! I added an extra line I suppose
Finally got a top answer ass well :)
ChatGPT would easily understand that sentence and write code for you
well I guess I didnt had to put the (), kinda dont get why though!!
got the top answer ^_^
Loved it... this is plain english in coding.
the best solution by the way using ternary operator
return classmates times pages if classmates bigger 0 and pages bigger 0 else 0
imagine you could write the code like this :D
Nice one liner
Wish I thought of that!
Wow, what the heck, this is almost an intelligible English sentence...