import csv
datos = [
["Valor", "Guarda", "Salida", "Entrada"],
[350, 8750, 5750, 30],
[400, 10000, 6500, 35],
[450, 11250, 7250, 40],
[500, 12500, 8000, 45],
[550, 13750, 8750, 50],
[600, 15000, 9500, 55],
[650, 16250, 10250, 60],
[700, 17500, 11000, 65],
[750, 18750, 11750, 70],
[800, 20000, 12500, 75],
[850, 21250, 13250, 80],
[900, 22500, 14000, 85],
[950, 23750, 14750, 90],
[1000, 25000, 15500, 95]
]
with open("reporte_datos.csv", "w", newline="", encoding="utf-8") as archivo:
escritor = csv.writer(archivo)
escritor.writerows(datos)
print("✅ Archivo 'reporte_datos.csv' creado. Ábrelo con Excel.")
To embed this project on your website, copy the following code and paste it into your website's HTML: