Learning Python (C): print binary tree

# Step 1: Install package binarytree 
# PIP binarytree the install binary REM 
# Step: binarytree packet call 
from binarytree Import Build 
values = [0,1,2,3,4,5,6,7, None, 9, 10 are ] 
the root = Build (values)
 Print (the root)

Guess you like

Origin www.cnblogs.com/liw66/p/12133451.html