For large numbers of matches, using finditer can save memory because it returns one match at a time, whereas findall returns all the matches at once. Full explain this question and text typing work only We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line
Question 12 kana
.Which of the following statements is false?
The re module's findall function finds every matching substring in a string and returns a list of the matching substrings. |
||
The following code extracts all phone numbers of the form ###-###-#### from a string: |
||
The re module's finditer function works like findall, but returns a greedy iterable of match objects. |
||
For large numbers of matches, using finditer can save memory because it returns one match at a time, whereas findall returns all the matches at once. |
Full explain this question and text typing work only
We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line
Step by step
Solved in 2 steps