Home / MCQ Bank / Computer
Computer Lists In Python Difficulty: Medium

What will be the output of the following Python code? a=[13,56,17] a.append([87]) a.extend([45,67]) print(a)

Select the correct option to test your answer:

More Computer Questions

_____ computers are also called personal computers. Which data structure is used for efficient retrieval of unique items? What will be the output of the following Python code? x = "abcdef" i = "i" while i in x: print(i, end=" ") Which of the following is Not a characteristic of a computer? What will be the output of the following C++ code? #include<iostream> using namespace std; class Test { protected: int x; public: Test (int i):x(i) { } void fun() const { cout << "fun() const " << endl; } void fun() { cout << "fun() " << endl; } }; int main() { Test t1 (10); const Test t2 (20); t1.fun(); t2.fun(); return 0; }