結果 : write a function in python to reverse a singly linked list