title: Python 3.3: How to create a loop for a string
body: <p>I apologize for the title not being clear, anyways how do I create a loop that will put numbers into a string, what i mean is (this is from the assignment im doing):</p>
  
  <p>Enter number of courses: </p>
  
  <p>Enter grade for course no. <strong>1</strong>:</p>
  
  <p>Enter weight for course no. <strong>1</strong>:</p>
  
  <p>Enter grade for course no. <strong>2</strong></p>
  
  <p>......</p>
  
  <p>Enter grade for course no. <strong>7</strong></p>
  
  <p>......</p>
  
  <p>Enter weight for course no. <strong>9</strong></p>
  
  <p>So how would i do something like this, i have to create an input statement which has numbers in order (1-infinity but limited by number of courses). Thank you if you need anymore information or for me to clarify let me know. </p>