Solved

What Is the Value of NewList After the Following Code

Question 45

Multiple Choice

What is the value of newList after the following code is executed?
NewList = [ "George", "John", "Thomas", "James" ]
NewList.pop()
NewList.append("Andrew")


A) [ "George", "John", "Thomas", "James", "Andrew" ]
B) [ "George", "John", "Thomas", "Andrew" ]
C) [ "Andrew", "John", "Thomas", "James" ]
D) [ "Andrew", "George", "John", "Thomas", "James" ]

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions