InterviewSolution
Saved Bookmarks
| 1. |
Write the output of the given Python code :#!/user/bin/python aList = [123, ‘xyz’, ‘zara’, ‘abc’, 123]; bList = [2009, ‘manni’]; aList.extend (bList) print “Extended List :”, aList; |
|
Answer» This will produce the following result: Extended List : [123, ‘xyz’, ‘zara’, ‘abc’, 123, 2009, ‘manni’] |
|