pratik-choudhari / AlgoCode

Welcome everyone!🌟 Here you can solve problems, build scrappers and much more💻
https://github.com/pratik-choudhari/AlgoCode
MIT License
131 stars 166 forks source link

add Unable to divide by zero #478

Closed rodrigo-br closed 3 years ago

rodrigo-br commented 3 years ago

add Unable to divide by zero

rodrigo-br commented 3 years ago

Since the code wasn't considering 0 as an input, it could return an Error and crash. So i put a conditioning to inform the user about the divsion by 0