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

What will be the output of the following Python code? >>>print("D", end = ' ') >>>print("C", end = ' ') >>>print("B", end = ' ') >>>print("A", end = ' ')

Select the correct option to test your answer:

More Computer Questions

Which of the following command is used to switch between the window programs? What is a slide transition? In an AVL tree, what happens when a node has a balance factor of 0? You can activate a cell by Consider the following iterative code used to convert a decimal number to its equivalent binary: #include<stdio.h> void dec_to_bin(int n) { int arr[31],len = 0,i; if(n == 0) { arr[0] = 0; len = 1; } while(n != 0) { arr[len++] = n % 2; _______; } for(i=len-1; i>=0; i--) printf("%d",arr[i]); } int main() { int n = 10; dec_to_bin(n); return 0; } Which of the following lines should be inserted to complete the above code?