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.
was stuck on this problem for days........
first thing i learnt is that round() needs a numeric input and integer for dp. i.e round(x,y), x must be numeric and y must be integer.
second thing i learnt is that the rounding changes only apply once converted to float afterwards.. confusing. i.e round(x,y)::float will then show the rounded number as however decimal places.
Question was very confusing, the whole time I though I was suppose to add the column1 and column2,
If odd then..
If even then..
But this wasnt the case lol.
I finally gave in and checked the solution JUST to see how easy it was..
It was literally sum of 1 column is even, then.... if odd then..
oh well you win some you lose some.
This comment is hidden because it contains spoiler information about the solution