celsius = float("35")
fahrenheit = (celsius * 1.8) + 32
print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(celsius,fahrenheit))
Вывод результата:
35.0 degree Celsius is equal to 95.0 degree Fahrenheit

Оценка - 1.0 (11)

 Похожие публикации
2015-11-30 • Просмотров [ 4366 ]