Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Rebecca Battams
210 PointsPython versions 2.7 and 3.4 need different code, help!
I have been making a questionaire on python, everything was going well and my code worked in version 2.7 but on updating to 3.4 (which I needed to do) the same code I used in version 2.7 now doesnt work in version 3.4. How can I make code work in 3.4? Thanks
2 Answers

Robert Richey
Courses Plus Student 16,352 PointsHi Rebecca,
Here is an article that may help you discover the problems in your code when migrating from 2.x to 3.x.

Jeremy Fisk
7,768 Pointsi imagine one of the main differences you need to look at is raw_input
is gone in version 3.4 of python
Niall Maher
16,985 PointsNiall Maher
16,985 PointsShow us some sample code and we might be able to help