Consider the following Python declarations of two lists.
Which one of the following statements results in A= [1, 2, 3, 4, 5, 6]?
python
- AA.extend(B)
- BA.append(B)
- CA.update(B)
- DA.insert(B)
Programming, Data Structures and AlgorithmsProgramming in PythonMCQ1 mark · −1/3 if wrongEasy
1A=[1,2,3]
2B=[4,5,6]
3A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.