1. Print a pattern where the first row has one A, second row two Bs, third row three Cs, etc.
C C C
D D D D
E E E E E
(so on and so forth)
2. Print a pattern where the first row has A, second row has B C, third row D E F, etc.
D E F
G H I J
K L M N O
(so on so forth)
Hint: you’ll need an additional variable outside the for loops for the index of string of letters.
3. Create a list of numbers, then use a for loop to multiply all the elements. Next, append a new element while removing a different old one, and then repeat the process of multiplication. Print both products.