Pisanje if naredbi u jednom redu s Pythonovim ternarnim operatorom (uvjetni operator) https://hr.from-locals.com/python-if-conditional-expressions/