/Solid-Hollow-Rhombus-1-For-Loop

Prints a solid/hollow rhombus shape using 1 for loop in Python.

Primary LanguagePython

Solid-Hollow-Rhombus-1-For-Loop

Prints a solid/hollow rhombus shape using 1 for loop in Python. Instruction:

  1. copy and paste this to a Python IDE
  2. enter the number of rows that is above the middle row of the desired row into the function. For example, if you want to print a rhomus with 7 rows, the middle row would be the 4th row, so enter 3.