Seção 1. Capítulo 8
single
Challenge: Filter Odd Numbers
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
Write a script that filters and prints only the odd numbers from a given list.
- Iterate through the
numberslist. - Check if each element in the list is odd.
- Collect all odd numbers into a new list.
- Print the list of odd numbers.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 8
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo