+1 vote
in Class 11 by kratos

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;

1 Answer

+5 votes
by kratos
 
Best answer

This will produce the following result:

Extended List : [123, ‘xyz’, ‘zara’, ‘abc’, 123, 2009, ‘manni’]

...