When you try to add a float to a string, Python's built-in str.format method will not allow you to concatenate floating point values together. To do this, you'll need to use the format string "%f" instead. This can be done like so:
str = "The value of %s is %f" % (name, value)
Note that when printing out strings, you might want to use the print Statement Formatter if you are wanting precision or multiple lines of output.