In-order values

Write inorder(root) that returns the values of a binary tree in in-order: left subtree, node, right subtree. On a binary search tree this is sorted order.

inorder([8, 3, 10, 1, 6, None, 14])  ->  [1, 3, 6, 8, 10, 14]
inorder(None)                        ->  []

The point is to practise a traversal that collects into a list, recursively or with an explicit stack.

def inorder(root):
    ...