title: Beginning Python - Calculating Area of a Circle
body: <p>For starters I am using Pyscripter ver. 2.6.0.0 x64 with Python ver. 3.3.0 x64</p>
  
  <p>I'm taking a beginning python course and I'm completely stumped. I was given this question:  </p>
  
  <p>Write a function called calculateArea.  The function should take a parameter that represents the radius of a circle and should return the area of the circle.  Write a program that asks the user to enter the number of circles.  The program should then display a chart that lists the radius of the circle and it's area beginning at 1 and continuing up to and including the number entered by the user.</p>
  
  <p>This is the progress I've made so far:</p>
  
  <pre><code>def calculateArea(radius):
      pi = 3.141
      area = (pi * (radius ** 2))
      return area
  
  n = int(input("Please enter the amount of circles you wish to test."))
  
  #r = float(input("Please enter the circle's radius."))
  
  area = calculateArea(n)
  
  #print("The area of the circle with a radius of:", r, "equals:", area)
  
  print("Circle('s)","  ","Radius Given","  ", "Calculated Area")
  print("**********", "  ", "************", "  ", "***************")
  
  for x in range(1, n+1):
      print(x, "     ","     ", "    ","          ", area)
  </code></pre>
  
  <p>This is my current output when I input for 5 circles to test:</p>
  
  <pre><code>&gt;&gt;&gt; 
  Circle('s)    Radius Given    Calculated Area
  **********    ************    ***************
  1                             78.525
  2                             78.525
  3                             78.525
  4                             78.525
  5                             78.525
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>What I'm trying to figure out at the moment is how to a fix the output where it calculates the area from my input of n for circles tested. Then I need help with trying to get the radius to display/work. When I used r to have a user input a beginning radius I kept getting the error:  </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;string&gt;", line 420, in run_nodebug
    File "&lt;module1&gt;", line 28, in &lt;module&gt;
  TypeError: 'float' object cannot be interpreted as an integer
  </code></pre>