title: IDLE (Python) does not display the type
body: <p>For some reason IDLE is not displaying the <code>type</code> of <code>tuple i</code>. Any idea what's wrong here?</p>
  
  <p><img src="https://i.stack.imgur.com/bz1qE.jpg" alt="IDLE (Python)"></p>
  
  <pre><code>&gt;&gt;&gt; d = {"a":"apple","b":"boy","c":"cat"}
  &gt;&gt;&gt; d
  {'a': 'apple', 'b': 'boy', 'c': 'cat'}
  &gt;&gt;&gt; t = ((k,v) for k,v in d.items())
  &gt;&gt;&gt; t
  &lt;generator object &lt;genexpr&gt; at 0x0237C558&gt;
  &gt;&gt;&gt; for i in t: print(i)
  
  ('a', 'apple')
  ('b', 'boy')
  ('c', 'cat')
  &gt;&gt;&gt; for i in t: print(type(i))
  
  &gt;&gt;&gt; 
  </code></pre>