<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>adenozine</author><text>I&amp;#x27;m surprised to see mutable default values not mentioned. It&amp;#x27;s bitten me more than once to discover that:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    def f(xs = []):
        xs.append(5)
        return xs
    
    print(f())
    print(f())
&lt;/code&gt;&lt;/pre&gt;
will print:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    [5]
    [5,5]
&lt;/code&gt;&lt;/pre&gt;
and I love python despite this horrendous decision, but it should be mentioned more often in beginner resources.&lt;p&gt;edit: thanks for the downvote? I&amp;#x27;ve answered on the order of dozens of questions about this very mechanic on SO, via IRC, and more... it&amp;#x27;s a well-known confusing factor</text><parent_chain></parent_chain></comment><story><title>A Python Guide for the Ages</title><url>https://gto76.github.io/python-cheatsheet/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>ruph123</author><text>The best cheatsheet which I have ever seen (besides maybe cheats.rs) is this Python cheatsheet by Laurent Pointal, absolutely outstanding in many ways:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;perso.limsi.fr&amp;#x2F;pointal&amp;#x2F;_media&amp;#x2F;python:cours:mementopython3-english.pdf&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;perso.limsi.fr&amp;#x2F;pointal&amp;#x2F;_media&amp;#x2F;python:cours:mementopy...&lt;/a&gt;</text><parent_chain></parent_chain></comment><story><title>A Python Guide for the Ages</title><url>https://gto76.github.io/python-cheatsheet/</url></story>