Question: How to draw an image like this in python where the number of rows is dependant on n? in this case the n =7 Could

How to draw an image like this in python where the number of rows is dependant on n? in this case the n =7
Could you also explain what each line of code does in drawing
Example starter code from pdf textbook below
n = int(input("Choose a number: ")) for row in range(n): for column in range(row+1): print('*', end='') print() Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
