Home / MCQ Bank / Computer
Computer Strings In Python

What will be the output of the following Python code snippet? print('ab'.zfill(5))

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • 000ab

Related Computer Questions

Pick the other name of operator function. Which of the following use 'NULL' to indicate failure? mysql_init(), mysql_real_connect() What will be the output of the following C++ code? #include <iostream> #include <algorithm> using namespace std; int main () { int myints[] = { 10, 20, 30, 30, 20, 10, 10, 20 }; int* pbegin = myints; int* pend = myints + sizeof(myints) / sizeof(int); pend = remove (pbegin, pend, 20); for (int* p = pbegin; p != pend; ++p) cout << ' ' << *p; return 0; } Which of the following statements is correct about constructors in C#.NET? What is the recurrence relation used in Strassen's algorithm?