Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 30, 2020 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/738614a12d49b68a3270f0321eabbf40 to your computer and use it in GitHub Desktop.
Save amankharwal/738614a12d49b68a3270f0321eabbf40 to your computer and use it in GitHub Desktop.
def convert(s):
f = float(s)
c = (f - 32) * 5/9
return c
print(convert(78))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment