Print Out a Diamond Shape

Learn how to break a complex problem into small pieces and analyze patterns in them.

We'll cover the following...

Problem

Print seven rows of # in a diamond shape, as shown below:

#
###
#####
#######
#####
###
#
A diamond shape using #

Purpose

The purpose of this problem is to analyze more complex patterns.

Analyze

...