title: Split tuple In Python
body: <p>I'm trying to write some Python to take two tuples and split it into the separate words, later use these words for comparison. But the split method is not working. Can anyone help i am new to python.(code and error is given)</p>
  
  <pre><code>for i in range(3, 8):
      cell_1=i, assign_sheet.cell(row=3, column=2).value
      cell_2=i, assign_sheet.cell(row=3, column=3).value
      s1= cell_1.split(" ")
      s2= cell_2.split(" ")
      temp=[]
      for w in s1:
          if w in s2:
              temp.append(w)
              print temp
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/u0AjN.png" rel="nofollow noreferrer">error given in the image</a></p>