HF RL Explorer

Task: Customize String Representation of a Python Class

Task: Customize String Representation of a Python Class: a task in Terminal-Lego-15k (Harbor dataset). In Python, you can customize how objects of your class are displayed when printed by defining the str method (equivalent to Java's toString() method).

The task

In Python, you can customize how objects of your class are displayed when printed by defining the `__str__` method (equivalent to Java's `toString()` method).

Part of PrimeIntellect/Terminal-Lego-15k.