We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dbb2f6 + 9399333 commit 5fba4fcCopy full SHA for 5fba4fc
BuiltIns/Input.py
@@ -4,7 +4,11 @@
4
Domain : Python
5
Author : Ahmedur Rahman Shovon
6
Created : 15 July 2016
7
+Updated : 3 April 2021
8
Problem : https://www.hackerrank.com/challenges/input/problem
9
'''
-x,k=list(map(int,raw_input().split()))
10
-print(input() == k)
+
11
+if __name__ == "__main__":
12
+ x, k = map(int, input().strip().split())
13
+ equation = input().strip()
14
+ print(eval(equation) == k)
0 commit comments