Skip to content

Commit 5fba4fc

Browse files
authored
Merge pull request #27 from HighnessAtharva/patch-7
Update Input.py
2 parents 2dbb2f6 + 9399333 commit 5fba4fc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

BuiltIns/Input.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
Domain : Python
55
Author : Ahmedur Rahman Shovon
66
Created : 15 July 2016
7+
Updated : 3 April 2021
78
Problem : https://www.hackerrank.com/challenges/input/problem
89
'''
9-
x,k=list(map(int,raw_input().split()))
10-
print(input() == k)
10+
11+
if __name__ == "__main__":
12+
x, k = map(int, input().strip().split())
13+
equation = input().strip()
14+
print(eval(equation) == k)

0 commit comments

Comments
 (0)