re.findall() vs str.count()
Could you please tell me whats the advantages/disadvantages of these methods which seem to give similar results.
str.count() counts the instances of a certain string while re.findall() returns all matches. Might seem silly and useless but is helpful when you're doing RegEx matches.
Thank you, friend!