Simple for loops can be use to print patterns in Python for Data Science. So, to denote the number of rows, the first outer loop is use and to denote the number of columns, the inner nested loop is used.
Below are some examples of patterns:
180 degree rotation:
Numbers without re-assignment: