-
-
Save DoubleMalt/debf6edb22b024f1d9f51c01f4e38c5b to your computer and use it in GitHub Desktop.
converter
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
print "Hello, I'm converting kilometers into miles.\n" | |
answer = "yes" | |
while answer == "yes" or answer == "y": | |
kilometres = raw_input("Please enter the amount of kilometres: ") | |
miles = float(kilometres) * 0.621372 | |
print miles | |
answer = raw_input("Do you want to do another conversion? ").lower() | |
print "Goodbye!!!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment