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