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 trialRebecca 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