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 Object-Oriented Python Advanced Objects Subclassing Built-ins

using len() at beginning of video

How did we use len() to print the length of our string in the beginning of the video, when in the last video we had to create a length function in order to do this. And, since, we don't have a parent function for ReversedStr, its not as if it carries over.

1 Answer

Ryan Cross
Ryan Cross
5,742 Points

parent class for resever string was str was it not?