print "Hello",foo,"." # not quite the same output but close enough print "Hello %s." % (foo) # printf-style interpolation