parameters: (self, strs)
return_statement: return prefix
docstring: :type strs: List[str]
          :rtype: str
docstring_summary: :type strs: List[str]
          :rtype: str
docstring_tokens: : type strs : List [ str ] : rtype : str
function: def longestCommonPrefix(self, strs):
          """
          :type strs: List[str]
          :rtype: str
          """
          prefix = ""
          
          for chars in zip(*strs):
              if all(c == chars[0] for c in chars):
                  prefix += chars[0]
              else:
                  return prefix
              
          return prefix
function_tokens: def longestCommonPrefix ( self , strs ) : prefix = "" for chars in zip ( * strs ) : if all ( c == chars [ 0 ] for c in chars ) : prefix += chars [ 0 ] else : return prefix return prefix