List of strings
strings = ['abc123', 'bd45', ' Ef1234 ']
If any of these methods (all or partially) matches any of the above strings, how can I test? For example, all of these patterns should be corrected:
[' While '[' ab ',' b ',' 123 ']] = <' ab ',' nee ',' yeah]
while ',' b ',' 123 '] They should do the wrong:
patterns4 = ['abn', 'nee', 'yes'] pattern 5 = ['n', 'yes'] <
Code> Any (for the sake of s in the patterns for the p P])
Comments
Post a Comment