input: 
  
  def print_pattern() -> None:
      """ Prints a pattern using # and spaces based on the condition that for each pair
      i, j in range(7), if (i + j) % 2 == 0, it prints '#', otherwise it prints a space.
      >>> print_pattern()
      ##  ##  ##  
       ##  ##  ## 
      ##  ##  ##  
       ##  ##  ## 
      ##  ##  ##  
       ##  ##  ## 
      ##  ##  ##  
      """
  
output:     for i in range(7):
          for j in range(14):
              if (i + j) % 2 == 0:
                  print('#', end='')
              else:
                  print(' ', end='')
          print()