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

Which Ruby convention is commonly used for naming constants? Which package in R supports the exploratory analysis of genomic data? Which of the following property defines the visual style of up to four different sides of a border? What is the meaning of "ORDER BY" clause in Mysql? What will be the output of the following C code? errno = 0; y = sqrt(2); if(errno == EDOM) printf("Invalid value\n"); else printf("Valid value\n");