The second example should be:<p><pre><code>    &#x27;{} {}&#x27;.format(&#x27;one&#x27;, &#x27;two&#x27;)
</code></pre>
Either way, the former example still works in Python 3.5, so that syntax hasn&#x27;t gone away. `format` is preferred, though. This Stack Overflow question has some good answers as to why: <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5082452&#x2F;python-string-formatting-vs-format" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5082452&#x2F;python-string-for...</a>