json代码:
{
'房子': {
1: '好',
0: {
'工作': {
1: '好',
0: '不'
}
}
}
}
请画出如图所示二叉树

使用Java Swing,
或者python的turtle或Matplotlib
代码越简单越好
json代码:
{
'房子': {
1: '好',
0: {
'工作': {
1: '好',
0: '不'
}
}
}
}
请画出如图所示二叉树

之前学习决策树,看到别人写好的包 你可以试试
https://blog.csdn.net/u010084228/article/details/78112946
还有另一个
https://blog.csdn.net/weixin_44255182/article/details/108755891