title: After joining set items into a single string seperated by commas, how to assign that value to a string?
body: <p>I am using combinations to create certain combination of strings. </p>
  
  <pre><code>for subset in combinations(ListOfName, 3):
      print ','.join(subset)
  </code></pre>
  
  <p>this Creates,</p>
  
  <pre><code>A,B,C
  A,C,D
  A,D,E
  </code></pre>
  
  <p>etc.</p>
  
  <p>How can I assign this newly created string to another string so that I can pass this into a function? For example, </p>
  
  <pre><code>occuring('A,B,C')
  </code></pre>