Last active
January 26, 2018 09:33
-
-
Save Razzo78/f242b897054c9205d828efef0c5e0b23 to your computer and use it in GitHub Desktop.
Python - Stop a number before it goes under zero
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step = max(0, step - 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment