eeshannarula29/structlinks

Data structure representation

Closed this issue · 0 comments

Describe the bug
If an instance of a data structure is typed into python console as a python literate, it shows the object with id but does not give any useful information about the structures

To Reproduce
Steps to reproduce the behavior:

Screenshot 2021-04-18 at 5 54 47 PM

  1. Click on '....'
  2. Scroll down to '....'
  3. See error

Expected behavior
Instead it show show LinkedList([1 -> 2 -> 3])

This could be done using the class special function __rep__