mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-03 13:28:40 +00:00
I added these return statements so that invalid inputs or valid end cases would no longer continue running through the rest of the function.