Home / MCQ Bank / Computer
Computer Formatting And Decorators Difficulty: Medium

What will be the output of the following Python code? '{a}{b}{a}'.format(a='hello', b='world')

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class Mammal { public: virtual void Define(){ cout<<"I'm a Mammal\n"; } }; class Human: public Mammal { private: void Define(){ cout<<"I'm a Human\n"; } }; int main(int argc, char const *argv[]) { Mammal *M = new Mammal(); Human H; M = &H; M->Define(); return 0; } 'W'h'i'c'h' 'e'l'e'm'e'n't' 'r'e'p'r'e's'e'n't's' 'a' 's'c'a'l'a'r' 'v'a'l'u'e' 'w'i't'h'i'n' 't'h'e' 'g'i'v'e'n' 'r'a'n'g'e'?' A Graph Structured Stack is a . . . . . . . . How many can max number of arguments present in function in the c99 compiler? What will be the plain text corresponding to ciphered text "MAO" if atbash cipher is used for encryption?