First, a few things:
The difference between "input" and "raw_input" is that input will return a number value whereas raw_input will return a string value. Anything you get with raw_input will have to be cast to an int or a float if you intend to use it in a numerical operation. likewise, you have to use raw_input if you expect the user to enter a word or phrase.
Second, the print funtion places the output on a new line automatically. if you want to add another new line to your output, use '\n' in your string.
Finally, casting radius to a float ensured it would print out as a float. if you don't cast it to a float before casting it to a string, python will do the formatting for you.
Below I took your code, commented out the flawed parts, and placed my fixes directly below them:
print("Do you want to find the area of a circle? ")
# again = input("Enter 'y' for yes, or enter 'n' to exit the program: ")
again = raw_input("Enter 'y' for yes, or enter 'n' to exit the program: ")
while (again == 'y'):
pi = 3.14
# radius = raw_input(" Input the radius of the circle: ")
radius = input("Input the radius of the circle: ")
area = pi * radius * radius
# print("A circle with a radius of " + str(float(radius)) + " has an area of " + "{0:.2f}".format(area))
print("A circle with a radius of " + str(radius) + " has an area of " + "{0:.2f}".format(area))
# print()
# print("Would you like to run another? ")
print("Would you like to run another? ")
# again = input("Enter 'y' to run another, enter 'n' to exit: ")
again = raw_input("Enter 'y' to run another, enter 'n' to exit: ")
print("Have a nice day :) ")
Hope this helps!
Use this instead for python 3:
print("Do you want to find the area of a circle?")
again = input("Enter 'y' for yes, or enter 'n' to exit the program: ")
while (again == 'y'):
pi = 3.14
radius = input("Input the radius of the circle: ")
area = pi * (float(radius) ** 2)
print("A circle with a radius of " + str(radius) + " has an area of " + "{0:.2f}".format(area))
print("Would you like to run another?")
again = input("Enter 'y' to run another, enter 'n' to exit: ")
print("Have a nice day :)")