print("Ingresa hasta qué número imprimir la figura") n= int(input()) for i in range(1, n + 1): for j in range(1, i + 1): print(j, end=" ") print()
To embed this project on your website, copy the following code and paste it into your website's HTML: