What does line of python code mean?
<p>I have a line of python code, that I need to translate in another language. I'm not familiar with python, so I don't know, what it means.</p>

<pre><code>if drum:
  st = [ (strip.STATE_HALF if led_has_content(i) else strip.STATE_OFF) for i in xrange(24) ]
else:
  st = (strip.STATE_OFF,) * strip.STATE_COUNT
self._touch_strip_state = st

… other function:
state = list(self._touch_strip_state)
state[position:position + 3] = 4 * len(state[position:position + 3])
touch_strip.send_state(state)
</code></pre>

<p>I know, that you don't know the values.But what is state? An array? If yes,how many values has it? What means: position:position+3? Why is there a comma behind strip.STATE_OFF?</p>
