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

Find My Solutions To Previous Challenges

When I complete a challenge, I'd like to be able to go back and save the code snippet so I can see why it worked and use it for future reference.

However, if I pass a challenge, the code is instantly cleared and I get the "congrats, you passed the challenge" message. If I go back, I have to start the challenge from scratch again.

Is there a way I can see my solution after the challenge has been successfully completed?

Or is the only solution to work in a text editor and paste the code into the challenge, see if it works and, if not, go back to working in the text editor.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! I think that's your only solution, and it's the one I use. Right before I hit the "Check work" button, I copy and paste my text elsewhere in case it passed :smiley:

Hope this helps! :sparkles:

Thanks! I think my problem is that I'm usually very surprised when I actually pass a challenge (I'm always bracing for the "Bummer" message), so I always forget to keep a record of the solution :smiley: