Tarana Wireless Interview Question

Python function to print the depth-first traversal of a tree?