如何查看这个代码是对错的

编写后的代码没有显示出写的文档,是我的代码的问题还是被隐藏起来了,关于python文件写入

img

需要指定print到打开的文件里

print("Name is", Name, file = NAME_file)

print("Name is %s" %Name)