41. What will be the output of the following Python function?
all([2,4,0,6])
all([2,4,0,6])
42. What will be the output of the following Python functions?
x=3
eval('x^2')
x=3
eval('x^2')
43. What is the purpose of the built-in function ord()?
44. What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
min(max(False,-3,-4), 2,7)
45. Which built-in function is used to convert a value to a floating-point number?
46. What will be the output of the following Python function?
import math
abs(math.sqrt(25))
import math
abs(math.sqrt(25))
47. What is the output of the following code:
my_string = "Hello, World!"
print(my_string.split())
my_string = "Hello, World!"
print(my_string.split())
48. What will be the output of the following Python function?
sum(2,4,6)
sum([1,2,3])
sum(2,4,6)
sum([1,2,3])