Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

checking if the variable storing same value in python

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))
 
PREVIOUS NEXT
Tagged: #checking #variable #storing #python
ADD COMMENT
Topic
Name
5+6 =