• + 0 comments

    As stated in the __main__, user <wilmer_henao> assumes that you know the elements of frac are instances of the Fraction class. Feel free to read the Python API on it. Alternatively, here is my more explicit HackerRank replacement.