Advertisement
biswasrohit20

temp

Apr 18th, 2021
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. cel = float(input("Enter Celsius temperature: "))
  2. fer = (cel * 9/5) + 32
  3. kel = cel + 273.15
  4. print(f'The Celsius temperature of {cel} is {fer} degrees Fahrenheit')
  5. print(f'The Celsius temperature of {cel} is {kel} degrees Kelvin')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement