If your calculation is referring to the circumference, the formula is incorrect. It should be 2 * math.pi * radius instead of 2 * math.pi * radius**2. Also, make sure to check the variable scope; the variables x and y should be calculated inside the loop after the radius is validated.