Vidyalelo
Python · Q74

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 74

Q74

What will be the output of the following Python code? word1="Apple" word2="Apple" list1=[1,2,3] list2=[1,2,3] print(word1 is word2) print(list1 is list2)

A.
True
True
B.
False
True
C.
False
False
D.
True
False
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board