开头插入这俩行
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
会连续输出四个内容
若开头不加这俩行只会输出 str
开头插入这俩行
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
会连续输出四个内容
若开头不加这俩行只会输出 str