Advertisement
DerioFT

Converter Suhu

Aug 14th, 2021
1,036
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. input_celcius = float(input("Masukkan suhu dalam °C : "))
  2. reamur = 4/5 * input_celcius
  3. fahrenheit = (9/5 * input_celcius) + 32
  4. kelvin = input_celcius + 273
  5.  
  6. print("\nSuhu dalam °R :",reamur)
  7. print("\nSuhu dalam °F :",fahrenheit)
  8. print("\nSuhu dalam  K :",kelvin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement