Learn
You
Given an integer n, return a right-angled triangle of * characters with height n. Row i (1-indexed) contains i stars. Rows are separated by \n.
n
*
i
\n
1 ≤ n ≤ 20
Outer loop i from 1 to n; inner loop prints i stars.
3