Skip to content

Instantly share code, notes, and snippets.

@yvan-sraka
Last active November 6, 2017 17:37
Show Gist options
  • Save yvan-sraka/da2c5ad61e995e219bdc7d231212c610 to your computer and use it in GitHub Desktop.
Save yvan-sraka/da2c5ad61e995e219bdc7d231212c610 to your computer and use it in GitHub Desktop.
Python cash machine algorithme code to complete
BILLS = [200, 100, 50, 20, 10]
amount = 60
i = 0
while amount > 0:
BILLS[i]
...
...
print("Finish")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment