HackerRank Day 16: Handling Exceptions | Python

preview_player
Показать описание
In this series, I will walk you through Hacker Rank’s 30 days of code challenge day by day.

In Day 16, we will learn how to handle exceptions.

Try solving it yourself!

View my solution for Day 16 at

Join our LinkedIn Group to ask questions and learn from others.

Support me on Patreon!

#OTSC #HackerRank #Python
Рекомендации по теме
Комментарии
Автор

It seems that the test cases do not accept any comments and the if _name_ == '__main__': line. My code keep failing with the error "Error reading result file.You should use exception handling concepts." with those lines. Now it passed without those lines. Wow, great excersixe, learned something new in Python

TranSan
Автор

It just doesn't work neither with TypeScript nor JavaScript. I always get the error "Error reading result file.You should use exception handling concepts." whereas the results are completely fine. I also do not see if _name_ == '__main__': line.

deepslam
Автор

Hi! I got this error:
Error reading result file.You should use exception handling concepts.
I tested your code. The output is right but it does not work...

Alezkar
Автор

What are types Pre-Defined Exceptions?

karamjeetsingh
Автор

still eror. "Error reading result file.You should use exception handling concepts.

abah