Challenge: Diamond

Question: Create a function to print a diamond with the pattern shown in the example below. The function has one input, n, an integer that controls the size of the diamond. Answer: The key here is to first separate the printing of the top and bottom half. Then, for each half, find the pattern of … Read more