Home / MCQ Bank / Computer
Computer Arrays In Data Structures

What is the output of the following Python code: array = [1, 2, 3]; print(array[-1])

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 3

Related Computer Questions

What is the kind of delete when deletion of an employee from the table also deletes that employee from another table? To run a compiled Java program, the machine must have what loaded and running? What does the function objects implement? What is the diamond problem in C++ inheritance? Which of the following is similar to Moment.js?