To the function published an exercise (part1)