📜  带有变量的 jupyter notebook 打印字符串 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:22.155000             🧑  作者: Mango

代码示例2
dir() #will give you the list of in scope variables:
globals() #will give you a dictionary of global variables
locals() #will give you a dictionary of local variables