You could convert this to one-liner by returning: ``return number_of_weeks or 1``