Advertisement
k1alo

Untitled

Oct 18th, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. print("Градусы по цельсию | Градусы по Фаренгейту")
  2. print("-------------------------------------------")
  3.  
  4. for i in range(0, 101, 10):
  5.     fahrenheit = (i * 9 / 5) + 32
  6.     print(f"{i}'C\t \t \t \t| {fahrenheit} f" # f" форматирование строки И /t отступ в несколько пробелов
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement