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

What will be the output of the following Python code snippet? print('ab\ncd\nef'.splitlines())

Select the correct option to test your answer:

More Computer Questions

Determine Output: void main() { char *p; p="%d\n"; p++; p++; printf(p-2, 300); } To move the cursor page to page of documents. Which major database object stores all data? What will be the output of the following C++ code? #include <iostream> #include <limits> using namespace std; int main () { cout << boolalpha; cout << numeric_limits<int> :: has_infinity << '\n'; return 0; } Which of the following is a method having same name as that of its class?