What in the world?


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

pi = "3.14"
print str(pi)

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

what? what did i do wrong?


Hi @freecs15,

You have ...

pi = "3.14"

Remove the quotes, so that pi is assigned a float value. The call to the str function on the next line is sufficient for converting its value to a string.


thank you so much:grinning: