Advertisement
Spocoman

03. Celsius to Fahrenheit

Dec 8th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. celsius = float(input())
  2. fahrenheit = celsius * 1.800 + 32
  3. print(f'{fahrenheit:.2f}')
  4.  
  5.  
  6. Тарикатско решение:)
  7.  
  8. print(f'{float(input()) * 1.800 + 32:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement