Findall Method
findall()
is a method that returns a list containing all matches of the pattern in the given string.
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 8
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
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.
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 8