34.6k views
19 votes
What will you see on the next line after the following lines of code?

>>> aList = [9, 2, 3.5, 2]
>>> aList.remove(2)
>>> aList
[9, 3.5]
[9, 3.5, 2]
[9, 2, 3.5, 2]

2 Answers

2 votes

Answer:

[ 9, 3.5, 2]

Step-by-step explanation:

User Peter Warbo
by
4.1k points
2 votes

Answer: I think its A [9, 3.5]

Step-by-step explanation:

User Patrick Koorevaar
by
3.9k points