Skip to content

Commit c471ae0

Browse files
Update Input.py
Working Solution Added.
1 parent 2a3b561 commit c471ae0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

BuiltIns/Input.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
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+
string = input().strip()
14+
15+
if eval(string) == k:
16+
print(True)
17+
else:
18+
print(False)

0 commit comments

Comments
 (0)