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

What will be the output of the following Python code? def C2F(c): return c * 9/5 + 32 print C2F(100) print C2F(0)

Select the correct option to test your answer:

More Computer Questions

Which among the following is the correct syntax to declare a static variable register? Which of the following system most often don't have postscript viewer? What is the time complexity of the following code used to convert a decimal number to its binary equivalent? #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; n /= 2; } for(i=len-1; i>=0; i--) printf("%d",arr[i]); } int main() { int n = 0; dec_to_bin(n); return 0; } What will the following code output: string = "Python" print(string.lower()) Which of the following property defines whether table cell borders are connected or separate?