def delimited(items, character='<STR_LIT:|>'):
return '<STR_LIT:|>'.join(items) if type(items) in (list, tuple, set) else items<EOL>
Returns a character delimited version of the provided list as a Python string