Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 3
    \$\begingroup\$ Use Python 2 for golfing not 3 \$\endgroup\$ Commented Aug 9, 2017 at 15:04
  • 10
    \$\begingroup\$ @Chris_Rands That simply does not universally hold, as there are cases in which Python 3 allows for shorter submissions. \$\endgroup\$ Commented Jul 15, 2018 at 14:36
  • 9
    \$\begingroup\$ @JonathanFrech Especially the new := operator in 3.8 \$\endgroup\$ Commented Mar 17, 2019 at 17:31
  • 2
    \$\begingroup\$ Related: code golf - Tips for golfing with numpy, scipy, or pylab - Code Golf Stack Exchange \$\endgroup\$ Commented Feb 2, 2021 at 11:54
  • 2
    \$\begingroup\$ @Klumpy7 the factorial of 333 plus 1 is an incredible large number \$\endgroup\$ Commented Jan 18 at 16:58