String Conversion for Python Containers (Lists, Dicts, …)
This is the final lesson in the course. In it, you’ll see how containers like lists and tuples convert their children to strings when called with
str(). The lesson also encourages you to add a
__repr__ method to your classes.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Become a Member to join the conversation.