SyntaxFix
Write A Post
Hire A Developer
Questions
You can create an iterator in Python 3.x or a list in Python 2.x by using:
filter(r.match, list)
To convert the Python 3.x iterator to a list, simply cast it; list(filter(..)).
list(filter(..))