Seção 1. Capítulo 18
single
Challenge: List Files with Extension
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
Write a function that filters and prints filenames ending with ".txt" from a given list.
- Loop through each element in the
filenameslist. - Check if the current filename ends with ".txt".
- If it does, print the filename.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 18
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo