Input()
-
Practice<Python<Built-Ins<Input()hackerrank.com 2019. 3. 20. 13:14
hackerrank.comInput()Problem link : https://www.hackerrank.com/challenges/input/problem?h_r=next-challenge&h_v=zenDifficulty : Easy Tipyou already know input()The key is to understand eval()we describe python code into python stringwe can run the python code, if we give the string to eval() function Solution x, k = map(int, input().split(' ')) stmt = input() r = eval(stmt) print(k == r)