1.在输出中显示多个项目
from IPython.core.interactiveshell import InteractiveShellInteractiveShell.ast_node_interactivity = "all"