BluePi interview question

Basic logic.

BluePi Interview Question: Basic logic. | Glassdoor