Skip to content

hi, there is a little bug in unorderedList2.py #1

Open
@no13bus

Description

@no13bus

I think this code should be like this code:

def append(self,item):
        current = self.tail
        temp = Node(item)
        current.setNext(temp)
        self.tail = temp # this code should be added in order to make the last appended item be the tail of the link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions