Ruby example:
name = \"Spongebob Squarepants\"
puts \"Who lives in a Pineapple under the sea? \\n#{name}.\"
The successful Python string co
Python's string interpolation is similar to C's printf()
If you try:
name = "SpongeBob Squarepants"
print "Who lives in a Pineapple under the sea? %s" % name
The tag %s
will be replaced with the name
variable. You should take a look to the print function tags: http://docs.python.org/library/functions.html