We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
XML2 - Find the Maximum Depth
XML2 - Find the Maximum Depth
Sort by
recency
|
124 Discussions
|
Please Login in order to post a comment
maxdepth = max(maxdepth, level+1) for x in elem: depth(x, level+1)
Finally iv found a one liner. Im gona tell my doc im ready to quit Xanax .
Im so upset i couldnt find any oneliner able to work ..