Where did I mess up?


#1


https://www.codecademy.com/courses/python-beginner-sRXwR/1/4?curriculum_id=4f89dab3d788890003000096#

Oops, try again. pi should equal the number 3.14--do not call str(pi) until after the print command on line 5!

it should complete the exercise


"""Declare and assign your variable on line 4,
then call your method on line 5!"""

pi = "3.14"
print str(pi)


#2

you should declare pi as float, and the use str() to convert the integer to string


#3

Got it, I was incorrectly placing the quotation marks around the 3.14.


#4

"""Declare and assign your variable on line 4,
then call your method on line 5!"""

pi = 3.14
print str(pi)


#5