title: Too many values to unpack or 0 values to unpack
body: <p>I have this code and I am trying to use the list splits
  but either I get Too many values to unpack or need more than 0 values to unpack</p>
  
  <pre><code>def edits1(word):
      splits  = [(word[:i], word[i:]) for i in range(len(word) + 1)]
  
      temp1 = []
      for i in splits:
          temp = list(i)
          for j in range(0,len(temp)):
              temp1.append(temp[j])
  
      splits = temp1
  
      for s in splits:
          print s
      #here 
      deletes    = [a + b[1:] for a, b in splits if b]
  
      return set(deletes)
  </code></pre>