<story><title>Python 3.6.0 released</title><url>https://mail.python.org/pipermail/python-list/2016-December/717624.html</url></story><parent_chain></parent_chain><comment><author>chrisshroba</author><text>I absolutely LOVE format strings. Whereas before, you had to format strings in one of these ways (among other more verbose ways):&lt;p&gt;&lt;pre&gt;&lt;code&gt;  &amp;quot;My name is {} and I am {} years old&amp;quot;.format(name, age)

  &amp;quot;My name is %s and I am %s years old&amp;quot; % (name, age)

  &amp;quot;My name is {name} and I am {age} years old&amp;quot;.format(name=name, age=age)
&lt;/code&gt;&lt;/pre&gt;
Now, we can finally use f-strings, where anything in brackets is eval&amp;#x27;ed, with the result subbed in:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  f&amp;quot;My name is {name} and I am {age} years old.&amp;quot;&lt;/code&gt;&lt;/pre&gt;</text></comment>
<story><title>Python 3.6.0 released</title><url>https://mail.python.org/pipermail/python-list/2016-December/717624.html</url></story><parent_chain></parent_chain><comment><author>happy-go-lucky</author><text>&amp;gt; PEP 515 adds the ability to use underscores in numeric literals for improved readability. For example:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    &amp;gt;&amp;gt;&amp;gt; 1_000_000_000_000_000
    1000000000000000
    &amp;gt;&amp;gt;&amp;gt; 0x_FF_FF_FF_FF
    4294967295
&lt;/code&gt;&lt;/pre&gt;
&amp;gt; Single underscores are allowed between digits and after any base specifier. Leading, trailing, or multiple underscores in a row are not allowed.</text></comment>