Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics (Retired) Ins & Outs Basic I/O

What version of python are we learning?

Is this course based on python 2.7 or python 3

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

When you go into the Python shell in Workspaces, the first thing you see is the version of Python:

Imgur

You can also get it with the command python -V or python --version.

David Bouchare
David Bouchare
9,224 Points

The last coding contest (Rock-Paper-Scissors) was meant to be done using Python 3. I believe the rest of the course is also done with Python 3. Correct me if I am wrong though.

James Barnett
James Barnett
39,199 Points

Treehouse is Python 3 only because 2.7 is depreciated.

The final 2.x version 2.7 release came out in mid-2010, with a statement of extended support for this end-of-life release.

from: https://wiki.python.org/moin/Python2orPython3