运行就是显示 ‘’root_html is not defined”
root_html 没有定义, 你返回的值htmls,你倒数第四行把root_html 改成htmls就可以了print(htmls)