Question
What will be the output of the following?array1 = [100, 200, 300, 400, 500]array2 = [1,2,3,4,5]if array1 == array2print "They are equal"else print "Not equal"end
Answer: Option B
Was this answer helpful ?
Two arrays are said to be equal if each and every element of both the arrays are equal.
Output:
Not equal
Was this answer helpful ?
Submit Solution