这里你没有输出,所以什么都没有,加一个输出,就可以看到效果了 print(name)这样:
第三行写print(name)即可
print(name)
第三行+print(name)即可,这里你没有打印,因此没有显示出来