Python linked list doubles remove

I’m having issues with my code, error input says “‘ListNode’ object has no attribute ‘x’”

Take a closer look at the supposed ListNode definition at the top and what instance variables it is using.