✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Qué hace este código?
import json
with open("datos.json", "w") as archivo:
json.dump({"nombre": "Ana", "edad": 22}, archivo)