title: How to create tuple with a loop in python
body: <p>I want to create this tuple:</p>
  
  <pre><code>a=(1,1,1),(2,2,2),(3,3,3),(4,4,4),(5,5,5),(6,6,6),(7,7,7),(8,8,8),(9,9,9)
  </code></pre>
  
  <p>I tried with this</p>
  
  <pre><code>a=1,1,1
  for i in range (2,10):
      a=a,(i,i,i)
  </code></pre>
  
  <p>However it creates a tuple inside other tuple in each iteration.</p>
  
  <p>Thank you</p>