Back to Patterns
Alphabet L Pattern
Pattern Result
*************
Code Implementation
Explanation
The Alphabet L Pattern creates a shape that resembles the letter L using asterisks. The pattern consists of two parts: the vertical part and the bottom horizontal line. The vertical part is created by placing a star only at the first position of each row, with spaces filling the rest of the row. The bottom horizontal line is created by filling the entire row with stars. This creates the distinctive shape of the letter L with a vertical line on the left and a horizontal line at the bottom.