11. What will be the output of the following Python function?
any([2>8, 4>2, 1>2])
any([2>8, 4>2, 1>2])
12. What will be the output of the following Python function?
hex(15)
hex(15)
13. The function divmod(a,b), where both 'a' and 'b' are integers is evaluated as:
14. What will be the output of the following Python expression?
round(4.576)
round(4.576)
15. What does the built-in function hex() do in Python?
16. What is the output of the following code:
my_list = [True, False, True]
print(any(my_list))
my_list = [True, False, True]
print(any(my_list))
17. What will be the output of the following Python expression?
round(4.5676,2)?
round(4.5676,2)?
18. What will be the output of the following Python function?
float(‘-infinity’)
float(‘inf’)
float(‘-infinity’)
float(‘inf’)
19. What will be the output of the following Python function?
all(3,0,4.2)
all(3,0,4.2)