Python program ends with 154 snakes dead; should it continue?

Chris Angelico rosuav at gmail.com
Tue Jun 6 12:31:56 EDT 2017


On Wed, Jun 7, 2017 at 1:07 AM, Larry Martell <larry.martell at gmail.com> wrote:
> I saw this headline and my first thought was what kind of program was this???
>
> http://www.mypalmbeachpost.com/weather/new-python-program-ends-with-154-snakes-dead-should-continue/UtI3GeaBflGHEZzlfoHYgN/
>
> We now return you to your regularly scheduled programming.

Well, no. Once a Python program ends, it should not continue. At that
point, you're supposed to go back to the OS.

ChrisA



More information about the Python-list mailing list