HackerRank Python - Input()
input()
In Python 2, the expression input() is equivalent to eval(raw _input(prompt)).
- # Enter your code here. Read input from STDIN. Print output to STDOUT
-
- x, k = map(int, input().split())
- print(eval(input()) == k)
input()
In Python 2, the expression input() is equivalent to eval(raw _input(prompt)).
- # Enter your code here. Read input from STDIN. Print output to STDOUT
-
- x, k = map(int, input().split())
- print(eval(input()) == k)
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.