📜  检查变量是否在 python 代码示例中存储相同的值

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

代码示例1
for_test = "Grepper"
for_test2 = "Grepper"

print("The adress of for_test is ",id(for_test))
print("The abress of for_test2 is ",id(for_test2))