comment faire une pyramide complète en python

row = int(input("Enter number of row = "))
for r in range(row):
    for s in range(row-r-1):
        print(end=" ")
    for str in range(r+1):
        print("*", end=" ")
    print()
Excited Earthworm