title: How to store the output of a loop in a variable? Python 2,7
body: <p>Everyone</p>
  
  <p>I want to store 40,000 "1" into a variable.
  example:</p>
  
  <p>V = 11111111111111111111.....</p>
  
  <p>for i in range 40000:
              print V</p>
  
  <p>1
  1
  1
  1
  1</p>
  
  <p>I would like to store this into a variable as listed above:</p>
  
  <p>v=1111111</p>
  
  <p>the only thing i can think of is listing the file 111111 and storing it to a variable but that's just absurd, there got to be  a more efficient means </p>