HF RL Explorer

Task: Generate Well-Formatted XML in Python

Task: Generate Well-Formatted XML in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to programmatically generate well-formatted XML output as a string (not just writing to a file). The script should create an XML document representing a simple web…

The task

Write a Python script that demonstrates how to programmatically generate well-formatted XML output as a string (not just writing to a file). The script should create an XML document representing a simple web API response containing a list of users.

Part of PrimeIntellect/Terminal-Lego-15k.