Answer:
for i in range(5):
for j in range(2*i + 1):
print("*", end="")
print()
Step-by-step explanation:
for row index going from 0 to 5
for column index going from 0 to 2*row index + 1
print * suppressing new line
print a new line to move to next row