(PCEP) Certified Entry-Level Python Programmer Practice Test
PCEP Data Structures 4
What is the output of `my_list = [1,2,3]; my_list.extend([4,5]); print(my_list)`?
Select your answer
A
[1, 2, 3, [4, 5]]
B
[1, 2, 3, 4, 5]
C
[[1, 2, 3], [4, 5]]
D
Error
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →