Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution