Created
September 28, 2016 04:19
-
-
Save JamesSaxon/b7cedcf6b6201e1e754fdd70289267da to your computer and use it in GitHub Desktop.
A Broken Python Example
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
#!/usr/bin/env python | |
a = 26.2 # miles in a marathon | |
b = 5 # km in a 5k | |
km_per_mile = 1.61 | |
print(a, "miles is", a * km_per_mile, "km.") | |
print(a, "km is", b * mile_per_km, "miles.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment