SHARE
TWEET

Untitled

a guest Sep 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def convert(temperature, convertTo):
  2.   if convertTo == 'C':
  3.     return (temperature - 32)*(5/9)
  4.   else:
  5.     return (temperature * (9/5))+32
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top