02:55
Introduction to Programming Using Python
(Display four patterns using loops) Use nested loops that display the following patterns in four separate programs:
Pattern A
1
12
123
1234
12345
123456
Pattern B
123456
12345
1234
123
12
1
Pattern $C$
\[
\begin{array}{r}
1 \\
21 \\
321 \\
4321 \\
54321 \\
654321
\end{array}
\]
Pattern D
123456
12345
1234
123
12
1