if this remainder appeared before then the numbers are irrational and would not converge to a solution the digits after decimal will be infinite
if x in m : NEW_LINE INDENT return - 1 NEW_LINE DEDENT m [ x ] = 1 NEW_LINE x *= 10 NEW_LINE return ans NEW_LINE