Exceptions
-
Practice>Python>Errors and Exceptions>Exceptionshackerrank.com 2019. 2. 14. 13:06
ExceptionsProblem : https://www.hackerrank.com/challenges/exceptions/problemDifficulty : easy TipProblem itself is simple, however, the error message from exception, is different with problem statementTo get same exception error message, to solve problem, you should use '//', not '/'Catch all exception in one place, like this -> 'except Exception as err:'Solution n = int(input()) for _ in range(..