Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 387 Bytes

File metadata and controls

15 lines (10 loc) · 387 Bytes

Task3.3

Task description

Напишите функцию, которая переводит значения показаний температуры из Цельсия в Фаренгейт и наоборот.

Report

File 3.3

def CtoF(degree, direct_order=True):
    return (degree * 9/5 + 32) if (direct_order) else ((degree - 32) * 5/9)