Skip to content

Instantly share code, notes, and snippets.

@elumixor
Created May 24, 2020 23:16
Show Gist options
  • Save elumixor/0763931ba5993e1adac255413577189c to your computer and use it in GitHub Desktop.
Save elumixor/0763931ba5993e1adac255413577189c to your computer and use it in GitHub Desktop.
i = 0
while not criterion((0.9 ** i) * max_step) and i < 10:
i += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment