fiftyfizzbuzzes
fiftyfizzbuzzes copied to clipboard
Fifty different implementations of Fizzbuzz in Python.
All this `x%3 == 0 and x%5 == 0`. Can't we just combine factors and do this once? `x%15 == 0` instead. Half as much work!
While Python supports range comparisons like `a < b < c`, it doesn't do anything special with the `==` operator, so in the comparison `ask == ("y" or "yes")`, the...
should've said `i-1` instead of `i+1`
This PR adds a `mybinder` badge to the README.md for easy notebook launch and an `environment.yml`. The `environment.yml` defines the Python dependencies necessary to execute the notebook