Findall Method
findall()
is a method that returns a list containing all matches of the pattern in the given string.
Opgave
Swipe to start coding
- Define a text variable with
"The cat is cute. The dog is also cute."
. - Use the
findall()
method and print the results.
Løsning
Mark tasks as Completed
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 8
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 11.11
Findall Method
findall()
is a method that returns a list containing all matches of the pattern in the given string.
Opgave
Swipe to start coding
- Define a text variable with
"The cat is cute. The dog is also cute."
. - Use the
findall()
method and print the results.
Løsning
Mark tasks as Completed
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 8