HackerRank Python - Input()


input()
In Python 2, the expression input() is equivalent to eval(raw _input(prompt)).

  1. # Enter your code here. Read input from STDIN. Print output to STDOUT
  2. x, k = map(int, input().split())
  3. print(eval(input()) == k)

download android app