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

Code
>>> input()  
1+2
3
>>> company = 'HackerRank'
>>> website = 'www.hackerrank.com'
>>> input()
'The company name: '+company+' and website: '+website
'The company name: HackerRank and website: www.hackerrank.com'

=====Problem Statement=====
You are given a polynomial P of a single indeterminate (or variable), x. You are also given the values of x and k. Your task is to verify if P(x) = k.

=====Output Format=====
Print True if P(x) = k. Otherwise, print False.

Difficulty: introductory

Starter code:

# Enter your code here. Read input from STDIN. Print output to STDOUT

Solutions:
#!/usr/bin/env python3

def __starting_point():
    x, k = map(int, input().strip().split())
    string = input().strip()
    
    if eval(string) == k:
        print(True)
    else:
        print(False)
__starting_point()