-
Practice<Python<Built-Ins<Input()hackerrank.com 2019. 3. 20. 13:14728x90
Input()
Problem link : https://www.hackerrank.com/challenges/input/problem?h_r=next-challenge&h_v=zenDifficulty : EasyTip
- you already know input()
- The key is to understand eval()
- we describe python code into python string
- we can run the python code, if we give the string to eval() function
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Python Functionals>Validating Email Addresses With a Filter (0) 2019.03.21 Practice>Python>Python Functionals>Map and Lambda Function (0) 2019.03.21 Practice>Python>Built-Ins>Zipped! (0) 2019.03.20 Practice>Python>Classes>Class 2 - Find the Torsional Angle (0) 2019.03.19 Practice>Python>Built-Ins>Python Evaluation (0) 2019.03.15