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.
1 parent 2a3b561 commit c471ae0Copy full SHA for c471ae0
BuiltIns/Input.py
@@ -4,7 +4,15 @@
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
+ string = input().strip()
14
15
+ if eval(string) == k:
16
+ print(True)
17
+ else:
18
+ print(False)
0 commit comments