Pattern 6 Approach

Can you help me with the approach for pattern 6 in the Session1 questions?

you just have to print 2(i-1) spaces and then (n-i) stars in each line for i=0 to n-1

1 Like