You've to manually print the linked list


#1

Use this code, they have some weird print expectations

current = head.next
    while current:
        print("-> ",end="")
        print(current.val,end=" ")
        current = current.next