<qiyuangong>328_Odd_Even_Linked_List_1.py
def oddEvenList( head):
    odd = head
    if head is None:
        return None
    if head.next is None:
        return head
    even_head = even = head.next
    while odd.next is not None and even.next is not None:
        odd.next = even.next
        odd = odd.next
        even.next = odd.next
        even = even.next
    odd.next = even_head
    return head
def sample_funcname ( var_0 ) :
    var_1 = var_0
    if var_0 is None :
        return None
    if var_0.next is None :
        return var_0
    var_5 = var_4 = var_0.next
    while var_1.next is not None and var_4.next is not None :
        var_1.next = var_4.next
        var_1 = var_1.next
        var_4.next = var_1.next
        var_4 = var_4.next
    var_1.next = var_5
    return var_0
