Let's test your knowledge. Fill in the missing part by typing it in.
What will be the output of the following code?
PYTHON
1cars = []
2cars.append("Ford")
3cars.append("BMW")
4cars.append("Mustang")
5
6cars.pop(2)
Write the missing line below.
What will be the output of the following code?
1cars = []
2cars.append("Ford")
3cars.append("BMW")
4cars.append("Mustang")
5
6cars.pop(2)
Write the missing line below.