This task involves splitting a sentence into individual words or tokens. **Example:** The input 'This is a test sentence' should return ['This', 'is', 'a', 'test', 'sentence']. **Constraints:** The input will be a string, and the output should be a list of strings.
Test Cases
Test Case 1
Input:
'This is a test sentence'Expected:
['This', 'is', 'a', 'test', 'sentence']Test Case 2
Input:
'Hello world'Expected:
['Hello', 'world']+ 3 hidden test cases