You are viewing a single comment's thread. Return to all comments →
x,k = input().split()
polynomial = input() result = eval(polynomial.replace("x",str(x))) if result == int(k): print(True) else: print(False)
Seems like cookies are disabled on this browser, please enable them to open this website
Input()
You are viewing a single comment's thread. Return to all comments →
x,k = input().split()
polynomial = input() result = eval(polynomial.replace("x",str(x))) if result == int(k): print(True) else: print(False)