-1
PHYTON - 如何在此代碼中創建一個功能來打印每個節點的層次?如何打印二叉樹中每個節點的級別?
referrer=input()
location=input()
readFAQ=input()
pagesVisited=input()
serviceChosen=input()
testCase=[referrer, location, readFAQ, pagesVisited, serviceChosen]
t=buildtree(trainingData)
printtree(t)