code: def shared_prefix(args):
      
      i = 0
      while i < min(map(len, args)):
          if len(set(map(operator.itemgetter(i), args))) != 1:
              break
          i += 1
      return args[0][:i]
docs: Find the shared prefix between the strings.
  
      For instance:
  
          sharedPrefix(['blahblah', 'blahwhat'])
  
      returns 'blah'.