title: python multiply your last answer by a constant
body: <p>so I'm trying to display salary with annual % increase for certain amount of years  </p>
  
  <pre><code>print('Enter the strting salary: ', end ='')
  SALARY = float(input())
  print('Enter the annual % increase: ', end ='')
  ANNUAL_INCREASE = float(input())
  
  calculation1 = ANNUAL_INCREASE / 100
  calculation2 = calculation1 * SALARY
  calculation3 = calculation2 + SALARY
  
  
  
  Yearloops = int(input('Enter number of years: '))
  
  for x in range(Yearloops):
      print(x + 1, calculation3 )
  </code></pre>
  
  <p>This is my output so far by entering 25000 as salary, 3 as % increase and 5 for years.</p>
  
  <pre><code>1 25750.0
  2 25750.0
  3 25750.0
  4 25750.0
  5 25750.0
  </code></pre>
  
  <p>I need to multiply the last answer again by the % increase. Should be like this </p>
  
  <pre><code>1 25000.00 
  2 25750.00 
  3 26522.50
  4 27318.17 
  5 28137.72
  </code></pre>
  
  <p>Can someone show me how to do it? Thanks. </p>