Home / MCQ Bank / Computer
Computer Lists In Python

What will be the output of the following Python code? list1 = [1, 2, 3, 4] list2 = [5, 6, 7, 8] print(len(list1 + list2))

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • 8

Related Computer Questions

To 'maximize' a window means to What will be the output of the following Java program? class string_class { public static void main(String args[]) { String obj = "hello"; String obj1 = "world"; String obj2 = obj; obj2 = " world"; System.out.println(obj + " " + obj2); } } Which of these keywords is used to refer to member of base class from a subclass? Which of the following is true concerning triggers? What is the purpose of the constant TYPE_RELOAD?