code: def capwords(s, sep=None):
      """capwords(s [,sep]) -> string
  
      Split the argument into words using split, capitalize each
      word using capitalize, and join the capitalized words using
      join.  If the optional second argument sep is absent or None,
      runs of whitespace characters are replaced by a single space
      and leading and trailing whitespace are removed, otherwise
      sep is used to split and join the words.
  
      """
      return (sep or " ").join(map(str.capitalize, s.split(sep)))
  
imports: import _string
  import re
  from collections import ChainMap
label_desc: Use image node_id 1 for calling a global function with example usage: capwords(s, sep) and returns: unknown