Skip to content

Instantly share code, notes, and snippets.

@Foxboron
Forked from anonymous/gist:5521323
Last active December 17, 2015 00:29
Show Gist options
  • Save Foxboron/5521458 to your computer and use it in GitHub Desktop.
Save Foxboron/5521458 to your computer and use it in GitHub Desktop.
# 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