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

What will be the output of the following Python code? def a(b): b = b + [5] c = [1, 2, 3, 4] a(c) print(len(c))

Select the correct option to test your answer:

More Computer Questions

which of the following functions can be used to finely control the appearance of all lattice plots ? Shortcut to quit Microsoft Word, Powerpoint, Access, Excel etc is ______________. What will be the output of the following C++ code? #include <iostream> #include <utility> #include <string> using namespace std; int main () { pair <int,int> p1(1,2); pair <int,int> p2(3,4); cout<<"Pair(first,second) = ("<<p1.first<<","<<p1.second<<")\n"; p1.swap(p2); cout<<"Pair(first,second) = ("<<p1.first<<","<<p1.second<<")\n"; return 0; } To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword? Functions can return enumeration constants in C?