HF RL Explorer

Task: Remove All Whitespace from a String in Python

Task: Remove All Whitespace from a String in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that removes all whitespace from a string, including: - Leading whitespace (at the beginning) - Trailing whitespace (at the end) - Whitespace between words

The task

You need to write a Python script that removes **all whitespace** from a string, including: - Leading whitespace (at the beginning) - Trailing whitespace (at the end) - Whitespace between words

Part of PrimeIntellect/Terminal-Lego-15k.