def szobahomerseklet(fok): if fok < 18: return "Tul hideg!" elif fok > 28: return "Tul meleg!" else: return "OK"