star_pyramid(n) that returns a list of n strings where row i (1-indexed) contains i asterisk characters ("*") with no separators, forming a left-aligned right-angled triangle.star_pyramid(4)
["*", "**", "***", "****"]
Row i has i stars.
Use nested loops: outer for the row, inner to build the star string, or use string multiplication `"*" * i`.
Append each row string to a results list.