Computer Science, asked by Anonymous, 9 months ago

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 ıtʑFᴇᴇʟɓᴇãᴛ
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 Anonymous
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