input: 
  def print_checkered_pattern(n: int) -> None:
      """Prints a checkered pattern of size n x n.
      >>> print_checkered_pattern(7)
      # # # # # 
       # # # # #
      # # # # # 
       # # # # #
      # # # # # 
       # # # # #
      # # # # # 
      """
  
output:     for i in range(n):
          if i % 2 == 0:
              print("# " * (n // 2) + "#" * (n % 2))
          else:
              print(" #" * (n // 2) + " " * (n % 2))