code: def list_str_summarized(list_, list_name, maxlen=5):
      
      if len(list_) > maxlen:
          return 'len(%s)=%d' % (list_name, len(list_))
      else:
          return '%s=%r' % (list_name, list_)
docs: prints the list members when the list is small and the length when it is
      large