News for hackers. Stuff that matters.
Re:Problem Solving with Algorithms and Data Structures using... by Avaclon on Monday March 13, 2017 @03:41AM (#13855918)
Anyone know what version of Python is this in? It's hard to tell since it's not mentioned in the book. Try doing import sys on the example frames doesn't work either. Trying to see if it aligns with the version some of us use at work.
Re:Problem Solving with Algorithms and Data Structures using... by jumasheff on Monday March 13, 2017 @04:37AM (#13856143)
It's Skulpt[0] -- JavaScript implementation of Python.

[0]https://github.com/skulpt/skulpt

Re:Problem Solving with Algorithms and Data Structures using... by joeclef on Monday March 13, 2017 @03:51AM (#13855961)
I believe it is Python 2.7. But I could be wrong.
Re:Problem Solving with Algorithms and Data Structures using... by danso on Monday March 13, 2017 @04:10AM (#13856039)
Even if it is, it follows conventions compatible with 3.x, e.g. using parentheses with print statements.

Also, in the "Review of Basic Python" chapter, it explicitly links to the official Python 3 docs: http://interactivepython.org/runestone/static/pythonds/Intro...