Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

What will be the output of the following program?

this = ["I", "am", "not", "a", "crook"]
that = ["I", "am", "not", "a", "crook"]
print("Test 1: {0}".format(this is that))
that = this
print("Test 2: {0}".format(this is that))
Source by howtothink.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #What #output
ADD COMMENT
Topic
Name
7+2 =