What will be the output of the following Python code? names = ["Aman",…
PYQ IBPS SO CRP SPL-XIV (2024)
What will be the output of the following Python code?
names = ["Aman", "Rahul", "Peter"]
names.insert(1, "John")
print(names[1])
- A.
Aman
- B.
Rahul
- C.
Peter
- D.
John
- E.
Error
Attempted by 199 students.
Sign up free to check your answer
Sign up freeLoading lesson…

