title: Python: Print all namedtuples
body: <p>I have the following code:</p>
  
  <pre><code>from collections import namedtuple
  
  Test = namedtuple('Test', ['number_A', 'number_B'])
  
  test_1 = Test(number_A=1, number_B=2)
  test_2 = Test(number_A=3, number_B=4)
  test_3 = Test(number_A=5, number_B=6)
  </code></pre>
  
  <p>My question is how can I print all namedtuples, for example:</p>
  
  <pre><code>print (Test.number_A)
  </code></pre>
  
  <p>I want to see somthing like this as a result:</p>
  
  <pre><code>1
  3
  5
  </code></pre>
  
  <p>any ideas?
  thanks..</p>