

#
# Complete the 'reversePrint' function below.
#
# The function accepts INTEGER_SINGLY_LINKED_LIST llist as parameter.
#

#
# For your reference:
#
# SinglyLinkedListNode:
#     int data
#     SinglyLinkedListNode next
#
#

def reversePrint(llist):
    # Write your code here
    if(llist is None):
        return
    else:
        reversePrint(llist.next)
        print(llist.data);



#
# Complete the 'reversePrint' function below.
#
# The function accepts INTEGER_SINGLY_LINKED_LIST llist as parameter.
#

#
# For your reference:
#
# SinglyLinkedListNode:
#     int data
#     SinglyLinkedListNode next
#
#

def reversePrint(llist):
    # Write your code here
    if(llist is None):
        return
    else:
        reversePrint(llist.next)
        print(llist.data);

# # Complete the 'reversePrint' function below. # # The function accepts INTEGER_SINGLY_LINKED_LIST llist as parameter. # # # For your reference: # # SinglyLinkedListNode: #     int data #     SinglyLinkedListNode next # # # Write your code here