In this section, we have three additional activities for you to practice.
Everything you've seen so far Python and also Gpio programming with the LED and the push button.
We are also going to add two new LEDs to the circuit in this section, and I will show you additional
tips on how to make your Python programs work even better for your future projects.
So make sure you don't skip this section.
And let's start with the activity number five.
For this course, we will start with something quite simple here.
So here is the challenge.
You will need to power on the LED when the button is pressed.
Okay so as simple as that.
If the button is pressed the LED is powered on.
If the button is not pressed, the LED is powered off.
And you can see the result on that video.
When I press the button, the LED is turned on.
When I release the button, the LED is turned off.
So with all the code that we have done so far, you should be able to do that and I will see you in
the next video for the solution.