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

What will be the output of the following Python code? f=lambda x:bool(x%2) print(f(20), f(21))

Select the correct option to test your answer:

More Computer Questions

Which method is used to split a string into substrings based on a regular expression in Ruby? Evaluate the expression given below if A = 16 and B = 15. A % B // A In geosynchronous orbit, satellite Which of the below is not an implementation of List interface? In which data structure is a "red-black tree" used, and what is its primary benefit?