Human: Python code to flatten nested doublylinkedlists recursively. Assistant: 
Here is a Python code to flatten nested doublylinkedlists recursively

import random

def flatten_nested_dll(dll):
    """
    Flatten a doubly linked list recursively
    """
    if not isinstance(dll, list):
        return [dll]
    return [dll] + flatten_nested_dll(dll[0]) + flatten_nested_dll(dll[1])

# Enter the list
dll = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]

# Calling the function
print((flatten_nested_dll(dll)))

#Example Output
# [[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], [[1, 2], [3, 4]], [1, 2], 1, 2, [3, 4], 3, 4, [[5, 6], [7, 8]], [5, 6], 5, 6, [7, 8], 7, 8]

#Remember to inspect code for bugs.