title: statements and variables with first comma
body: <p>The prompt:</p>
  
  <p>Write a sequence of statements that finds the first comma in the string associated with the variable  line, and associates the variable  clause the portion of line up to, but not including the comma. </p>
  
  <p>I am stuck. All I could understand and come up with was two statements (variables). First comma in the string associated with the variable line, makes me think of line equal line,  and clause equal</p>
  
  <blockquote>
    <p>Blockquote</p>
  </blockquote>
  
  <pre><code>line = line,
  clause = "line"
  </code></pre>
  
  <p>Second attempt- still not working but I'm getting there now that I know to focus on find, index, or split</p>
  
  <pre><code>line = ""
  clause = line.find("," [0[line]])
  </code></pre>
  
  <p>Attempt three, the split works but the issue is the line statement and it is by omitting the line statement that it finally works. Thanks so much! </p>
  
  <pre><code>clause = line.split(",")[0]
  </code></pre>