HF RL Explorer

Task: Trim Whitespace from a String in Python

Task: Trim Whitespace from a String in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that removes leading and trailing whitespace from strings. The script should implement a function that trims whitespace characters from both the beginning and end of a given string.

Part of PrimeIntellect/Terminal-Lego-15k.