Getting "TypeError: 'datetime.date' object is not iterable" while iterating the tuple (conversion of tuple into list)
<p>I have the following tuple called <code>data</code></p>

<pre><code>data  = (
    datetime.date(2015, 9, 11),
    datetime.datetime(2015, 9, 11, 12, 55, 24),
    'BB',
    'ABC',
    )
</code></pre>

<p>It consists of a <code>date</code>, a <code>datetime</code>, and two <code>str</code> elements. </p>

<p>While converting this <code>tuple</code> into a <code>list</code>, I'm trying to iterate it as follows:</p>

<pre><code>ls = []
for i in data:
    ls.append(list(i))
</code></pre>

<p>I got the following error <code>TypeError: 'datetime.date' object is not iterable</code>.</p>

<p>Why?</p>