Challenge: Print Even Numbers
Taak
Swipe to start coding
Practice iterating through arrays by filtering and printing only the even numbers from a list.
- Loop through each element in the
numbersarray. - Check if the current element is an even number.
- Print the even numbers.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 3.57
Challenge: Print Even Numbers
Veeg om het menu te tonen
Taak
Swipe to start coding
Practice iterating through arrays by filtering and printing only the even numbers from a list.
- Loop through each element in the
numbersarray. - Check if the current element is an even number.
- Print the even numbers.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single