Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sparky's simple Fahrenheit to Celsius converter
- def converter(fahrenheit):
- celsius = 5 / float(9) * (fahrenheit - 32)
- print("%d Fahrenheit in Celsius is: %.2f C") % (fahrenheit, celsius)
- print converter(95)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement