-
-
Save Foxboron/5521458 to your computer and use it in GitHub Desktop.
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
# F=(9/5) * C +32 | |
def convert(): | |
c = int(raw_input('Enter celcius to convert: ')) | |
convertedC = (9/5.0) * c + 32 | |
print convertedC | |
while True: | |
goAgain = raw_input('\nAre you finished? "Yes" or "No": ').lower() | |
if goAgain == "yes": | |
convert() | |
else: | |
print 'finished' | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment