input: from typing import List
  
  
  def generate_chessboard_pattern(size: int) -> List[str]:
      """
      Generate a string representation of a chessboard pattern of given size,
      where even positions are represented by '#' and odd positions are represented by ' '.
      Each row is joined into a single string and the entire board is returned as a list of these strings.
      
      Example:
      >>> generate_chessboard_pattern(7)
      ['# # # # ', '# # # # ', '# # # # ', '# # # # ', '# # # # ', '# # # # ', '# # # # ']
      """
      
output:     chessboard = []
      for i in range(size):
          row = ''
          for j in range(size):
              if (i + j) % 2 == 0:
                  row += '#'
              else:
                  row += ' '
          chessboard.append(row)
      return chessboard