There is a sentence in the input. Use the pattern "[A-z'-]+" to print the tokens.
Tip: Do not forget to import the module you need
There is a sentence in the input. Use the pattern "[A-z'-]+" to print the tokens.
Tip: Do not forget to import the module you need
Sample Input 1:
The more you read, the more you learn.Sample Output 1:
['The', 'more', 'you', 'read', 'the', 'more', 'you', 'learn']Create a free account to access the full topic