HF RL Explorer

Split String on Whitespace in Python

Split String on Whitespace in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that splits a string on any whitespace characters (spaces, tabs, newlines, etc.) and returns a list of non-empty words.

Part of PrimeIntellect/Terminal-Lego-15k.