Leetcode Doubly Linked List Problems In Python A Floating