


"""simple docstring"""
from __future__ import annotations







def 						_a				(      _SCREAMING_SNAKE_CASE = 4				)    ->				list[list[int]]:
							snake_case_           =		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				)    ->				list[list[int]]:
							return reverse_row(transpose(_SCREAMING_SNAKE_CASE				)				)
							# OR.. transpose(reverse_column(matrix))







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				list[list[int]]:
							return reverse_row(reverse_column(_SCREAMING_SNAKE_CASE				)				)
							# OR.. reverse_column(reverse_row(matrix))







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				list[list[int]]:
							return reverse_column(transpose(_SCREAMING_SNAKE_CASE				)				)
							# OR.. transpose(reverse_row(matrix))







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				list[list[int]]:
							snake_case_           =		[list(_SCREAMING_SNAKE_CASE				) for x in zip(*_SCREAMING_SNAKE_CASE				)]
							return matrix







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				list[list[int]]:
							snake_case_           =		matrix[::-1]
							return matrix







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				list[list[int]]:
							snake_case_           =		[x[::-1] for x in matrix]
							return matrix







def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				None:
							for i in matrix:
														print(*_SCREAMING_SNAKE_CASE				)


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

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

				__SCREAMING_SNAKE_CASE							:    Optional[int]		=    make_matrix()
				print('\norigin:\n')
				print_matrix(matrix)
				print('\nrotate 270 counterclockwise:\n')
				print_matrix(rotate_aaa(matrix))







"""simple docstring"""
from __future__ import annotations







def 						_a				(      _SCREAMING_SNAKE_CASE				, _SCREAMING_SNAKE_CASE				)    ->				list[int]:
							snake_case_           =		0
							snake_case_           =		len(_SCREAMING_SNAKE_CASE				) - 1

							while i < j:
														if nums[i] + nums[j] == target:
																					return [i, j]
														elif nums[i] + nums[j] < target:
																					snake_case_           =		i + 1
														else:
																					snake_case_           =		j - 1

							return []


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				print(f"""{two_pointer([2, 7, 11, 15], 9) = }""")



