Ad
  • Custom User Avatar

    math.ceil returns a float in Python 2.x and an integer in Python 3.x, thus giving strings with .0 floats.

    Use Python 3.x instead.

  • Default User Avatar

    Oh yes! Python 2.x sorry.

  • Custom User Avatar

    Specify the language please.

    EDIT: tried both versions - the internal validation "inserts" an integer into the string, not a float ending with .0. Are you sure your code is correct?

  • Default User Avatar

    Fixed vs. random tests are inconsistent in terms of the required formatting: (some of) the of fixed tests expect integer values for the converted weights, whereas all the random tests expect a rounded floating point number ending with '.0'.