parameters: (surface, lines)
docstring: Draws lines on pygame display.
docstring_summary: Draws lines on pygame display.
docstring_tokens: Draws lines on pygame display .
function: def draw_lines(surface, lines):
          """
          Draws lines on pygame display.
          """
          for line, color in lines:
              if len(line) > 1:
                  pygame.draw.lines(surface, color, True, line, 2)
function_tokens: def draw_lines ( surface , lines ) : for line , color in lines : if len ( line ) > 1 : pygame . draw . lines ( surface , color , True , line , 2 )