filas=int(input("¿Hasta qué número quieres que vaya el triángulo? ")) contador=1 while contador <= filas: print("*" * contador) contador += 1
To embed this project on your website, copy the following code and paste it into your website's HTML: