Sezione 1. Capitolo 16
single
Challenge: Find Lines with Keyword
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
Write a function that prints all lines from a list that contain a specific keyword.
- Iterate through each string in the
lineslist. - For each string, check if the
keywordis present. - Print every string that contains the
keyword.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 16
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione