Desafio: Exercícios de Fatiamento e Busca
Tarefa
Swipe to start coding
Use simple string tools — methods, slicing, in, and f-strings — to complete each expression.
All variables are already defined — do not change them.
Compute:
name_clean— remove extra spaces fromfull_name.has_quick— check if"quick"appears insentence(case-insensitive).inside_parens— extract text between parentheses(and).o_count— count how many'o'letters are insentence(case-insensitive).domain— fromemail, take everything after@(after trimming and lowercasing).report— build"Name | Domain | Count"using an f-string andSEP.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Incrível!
Completion taxa melhorada para 3.45
Desafio: Exercícios de Fatiamento e Busca
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Use simple string tools — methods, slicing, in, and f-strings — to complete each expression.
All variables are already defined — do not change them.
Compute:
name_clean— remove extra spaces fromfull_name.has_quick— check if"quick"appears insentence(case-insensitive).inside_parens— extract text between parentheses(and).o_count— count how many'o'letters are insentence(case-insensitive).domain— fromemail, take everything after@(after trimming and lowercasing).report— build"Name | Domain | Count"using an f-string andSEP.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single