Ad
  • Custom User Avatar

    In Python 3, 3/2 gives the float 1.5.
    But you need the rounded down integer of the division.
    This is 3//2 and gives the integer 1.
    All you have to do if you are in Python 3 is to change / to //.