CCNP 350-401 ENCOR Question 532 DISCUSSION

  • 559 views
  • 2023-07-05
« Back to Main Menu

Refer to the exhibit. What is the value of the variable list after the code is run?

list = [1, 2, 3, 4]
list[3] = 10
print(list)

A. [1, 10, 10, 10]
B. [1, 2, 10]
C. [1, 2, 10, 4]
D. [1, 2, 3, 10]

Refer to the exhibit. What is the value of the variable list after the code is run?

list = [1, 2, 3, 4]
list[3] = 10
print(list)

A. [1, 10, 10, 10]
B. [1, 2, 10]
C. [1, 2, 10, 4]
D. [1, 2, 3, 10]

Correct Answer: D

Support AceITCert.com by buying stuff you need!

0 Comments

In order to participate in the comments you need to be logged-in.
You can sign-up or login (it's free).