<qiyuangong>206_Reverse_Linked_List_2.py
def reverseList( head):
    prev, curr = None, head
    while curr is not None:
        next_temp = curr.next
        curr.next = prev
        prev = curr
        curr = next_temp
    return prev
def sample_funcname ( var_0 ) :
    var_2 , var_3 = None , var_0
    while var_3 is not None :
        var_5 = var_3.next
        var_3.next = var_2
        var_2 = var_3
        var_3 = var_5
    return var_2
