


from __future__ import annotations




def       a_ (       SCREAMING_SNAKE_CASE__   : Dict = 4	):
       '''simple docstring'''





       _lowerCamelCase			:						List[Any]            =abs(SCREAMING_SNAKE_CASE__	) or 4
       return [[1 + x + y * row_size for x in range(SCREAMING_SNAKE_CASE__	)] for y in range(SCREAMING_SNAKE_CASE__	)]




def       a_ (       SCREAMING_SNAKE_CASE__   : int	):
       '''simple docstring'''





       return reverse_row(transpose(SCREAMING_SNAKE_CASE__	)	)
       # OR.. transpose(reverse_column(matrix))




def       a_ (       SCREAMING_SNAKE_CASE__   : Union[str, Any]	):
       '''simple docstring'''





       return reverse_row(reverse_column(SCREAMING_SNAKE_CASE__	)	)
       # OR.. reverse_column(reverse_row(matrix))




def       a_ (       SCREAMING_SNAKE_CASE__   : Dict	):
       '''simple docstring'''





       return reverse_column(transpose(SCREAMING_SNAKE_CASE__	)	)
       # OR.. transpose(reverse_row(matrix))




def       a_ (       SCREAMING_SNAKE_CASE__   : Dict	):
       '''simple docstring'''





       _lowerCamelCase			:						Dict            =[list(SCREAMING_SNAKE_CASE__	) for x in zip(*SCREAMING_SNAKE_CASE__	)]
       return matrix




def       a_ (       SCREAMING_SNAKE_CASE__   : int	):
       '''simple docstring'''





       _lowerCamelCase			:						str            =matrix[::-1]
       return matrix




def       a_ (       SCREAMING_SNAKE_CASE__   : Any	):
       '''simple docstring'''





       _lowerCamelCase			:						List[Any]            =[x[::-1] for x in matrix]
       return matrix




def       a_ (       SCREAMING_SNAKE_CASE__   : int	):
       '''simple docstring'''





       for i in matrix:
              print(*SCREAMING_SNAKE_CASE__	)


if __name__ == "__main__":
 lowerCamelCase		   =			make_matrix()
 print('\norigin:\n')
 print_matrix(matrix)
 print('\nrotate 90 counterclockwise:\n')
 print_matrix(rotate_aa(matrix))

 lowerCamelCase		   =			make_matrix()
 print('\norigin:\n')
 print_matrix(matrix)
 print('\nrotate 180:\n')
 print_matrix(rotate_aaa(matrix))

 lowerCamelCase		   =			make_matrix()
 print('\norigin:\n')
 print_matrix(matrix)
 print('\nrotate 270 counterclockwise:\n')
 print_matrix(rotate_aaa(matrix))



def _lowerCamelCase  (		snake_case  ):
							assert (
							    isinstance(snake_case     , snake_case  ) and number_of_steps > 0
							), F'number_of_steps needs to be positive integer, your input {number_of_steps}'
							if number_of_steps == 1:
														return 1
							_lowerCAmelCase			,		_lowerCAmelCase							=							1, 1
							for _ in range(number_of_steps - 1  ):
														_lowerCAmelCase			,		_lowerCAmelCase							=							current + previous, current
							return current


if __name__ == "__main__":
				import doctest

				doctest.testmod()






