Advertisement
Jorell_Ramos_Sinaga

converter

Aug 14th, 2021
1,035
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #Program convert celsius -> reamur, fahrenheit, kelvin
  2. print("Celcius Converter\n")
  3. celcius = float(input("Celcius = "))
  4.  
  5. reamur = 4/5 * celcius
  6. fahrenheit  = celcius*9/5 + 32
  7. kelvin = celcius + 273
  8.  
  9. print(f"Reamur = {reamur}°R")
  10. print(f"Fahrenheit = {fahrenheit}°F")
  11. print(f"Kelvin = {kelvin}°K")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement