>>> star =  input(“Enter the star to draw: “)
Enter the star to draw: *
>>> limit = int(input(“Enter the limit: “))
Enter the limit: 10
>>> for i in range(1, limit+1):
print (star*i)

Output–   
*
**
***
****
*****
******
*******
********
*********
**********