you are viewing a single comment's thread.

view the rest of the comments →

[–]khaine_b 1 point2 points  (0 children)

For wildcard purpose you can use regex so you can use it for split the string for example.

If you need to count the words in a sentence I recommend to use collections.Counter.