Skip to content

Instantly share code, notes, and snippets.

@d0mmie
Created January 8, 2021 13:43
Show Gist options
  • Save d0mmie/1375c7b80847eea829727f31f62100fe to your computer and use it in GitHub Desktop.
Save d0mmie/1375c7b80847eea829727f31f62100fe to your computer and use it in GitHub Desktop.
f_temp = float(input("Input temperature in Fahrenheit: "))
print("%.2f Farenheit = %.2f Celcius" % (f_temp, (f_temp - 32) * 5 / 9))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment