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 trialAizah Sadiq
2,435 PointsI've lost all my code for thieves
If someone can just copy/paste their thieves.py it would be very helpful. Thanks in Advance!
2 Answers
boi
14,242 PointsI have the basic version of thieves.py
import random
from attributes import Agile,Sneaky
from characters import Character
class Thief(Agile,Sneaky,Character):
def pickpocket(self):
return self.sneaky and bool(random.randint(0,1))
Abdulsalam Jumah
3,679 PointsYou can actually just download the project files from the downloads under the video (where the teacher notes and question are) this applies to every course (when available), or just relaunch the workspaces you want from the workspaces link on the top right corner.