Write the output of the given python code :
# !/user/bin/python
aList1 = [123, ‘xyz’, ‘zara’, ‘abc’];
print “A List:”, aList.pop()
print “B List:”, aList.pop(2)
Answers
Answered by
2
# !/user/bin/python
aList1 = [123, ‘xyz’, ‘zara’, ‘abc’];
print “A List:”, aList.pop()
print “B List:”, aList.pop(2)
Answer:
Output:
A List: abc B List: zara
Answered by
1
# !/user/bin/python
aList1 = [123, ‘xyz’, ‘zara’, ‘abc’];
print “A List:”, aList.pop()
print “B List:”, aList.pop(2)
Answer:
Output:
A List: abc B List: zara/> boldtex->//
soon.
Similar questions
Math,
4 months ago
Hindi,
4 months ago
English,
4 months ago
Hindi,
9 months ago
Social Sciences,
9 months ago
Math,
1 year ago
English,
1 year ago
Psychology,
1 year ago