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

What is the result of sum([.1 for i in range(20)])?

Select the correct option to test your answer:

More Computer Questions

Which program performs logical backups? What is the purpose of the 'fprintf' function in C? What will be the output of the following Python code? f=lambda x:bool(x%2) print(f(20), f(21)) What is the value of the following expression? float(22//3+3/3) What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; int main () { string str ("helloworld."); cout << str.substr(3).substr(4) << endl; return 0; }