tamano = 4 for i in range(tamano): for j in range(i, 0, -1): print(" ", end="") for j in range(tamano - i, 0, -1): print("* ", end="") print()