mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-01-28 10:33:01 +08: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.