Triangle Quest 2

  • + 0 comments

    math solution

    print(round(((-101*10 ** i + 10 ** (2 * i + 1) + 10) / 8100 + 10 ** (i - 2)) * 10))