title: Why can't I multiply the elements in my list?
body: <p>I can't seem to multiply the integers in my array.</p>
  
  <pre><code>grid = [8, 2, 22, 97, 38, 35, 29, 76, 51, 87]
  
  digits = 1
  startPos = 0
  total = []
  
  for i in range(0,7):
      for i in range(startPos, startPos+3):
          value = int(grid[i:i+1])
          digits = digits * value
      total.append(digits)
      startPos = startPos + 1
      digits = 1
  </code></pre>
  
  <p>I keep getting the error</p>
  
  <pre><code>int() argument must be a string, a bytes-like object or a number, not 'list'
  </code></pre>
  
  <p>As far as I'm aware the values in my array ARE integers. What have I done wrong? For clarification, I'm searching for the biggest value that can be made from any 3 adjacent numbers in the array.</p>