Question d’entretien chez Valeo

Write a code to count how many rise edges.