human
Print rectangular pattern with given center | Function to print the matrix filled with rectangle pattern having center coordinates are c1 , c2.
Iterate in the range [ 0 , n - 1 ].
Iterate in the range [ 0 , n - 1 ].
Given Input.
Function Call"
How can the above be solved in Python?

=====
What is a code to print rectangular pattern with given center and the other steps required?
assistant
#Here is code to print rectangular pattern with given center and the other steps required.
 def printRectPattern ( c1 , c2 , n ) :
	for i in range ( n ) :
		for j in range ( n ) :
			print ( max ( abs ( c1 - i ) , abs ( c2 - j ) ) , end = " ▁ " )
		print ( " " )
c1 = 2
c2 = 2
n = 5
printRectPattern ( c1 , c2 , n )