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 trialAbubakar Gataev
2,226 PointsWorkspsces doesn't work
How did he get in the console in the rpg ?? please help!
2 Answers
micram1001
33,833 PointsYou can review the video Multiple Superclasses in the last section(Inheritance). RPG is a directory which stores the py files.
arulfrancis
700 Pointsthe code challenge that comes after this video and which asks to override the class str to translate - to dash and . to dot doesn't seem to work in the challenge box but works just fine on my machine: has anyone faced this same problem? i wonder what answer they're looking for. they don't say
def __str__(self):
if self.pattern:
return '-'.join(['dot' if e == '.' else 'dash' if e == '-' else e for e in self.pattern])
nakalkucing
12,964 Pointsnakalkucing
12,964 PointsR u still having trouble with workspaces?