Which built-in function is used to find the smallest item in an iterable?
Select an option to see the answer and solution.
What does the built-in function round() do in Python?
Select an option to see the answer and solution.
What does the built-in function max() do in Python?
Select an option to see the answer and solution.
Which built-in function is used to check if all elements in an iterable are true?
Select an option to see the answer and solution.
What does the built-in function enumerate() do in Python?
Select an option to see the answer and solution.
Which built-in function is used to convert a value to an integer?
Select an option to see the answer and solution.
What does the built-in function bool() do in Python?
Select an option to see the answer and solution.
Which built-in function is used to calculate the absolute value of a number?
Select an option to see the answer and solution.
What is the purpose of the built-in function dir()?
Select an option to see the answer and solution.
What is the output of the following code:
my_string = "Hello, World!"
print(my_string.upper())
Select an option to see the answer and solution.
What will be the output of the following Python function?
any([2>8, 4>2, 1>2])
Select an option to see the answer and solution.
What will be the output of the following Python function?
hex(15)
Select an option to see the answer and solution.
The function divmod(a,b), where both 'a' and 'b' are integers is evaluated as:
Select an option to see the answer and solution.
What will be the output of the following Python expression?
round(4.576)
Select an option to see the answer and solution.
What does the built-in function hex() do in Python?
Select an option to see the answer and solution.
What is the output of the following code:
my_list = [True, False, True]
print(any(my_list))
Select an option to see the answer and solution.
What will be the output of the following Python expression?
round(4.5676,2)?
Select an option to see the answer and solution.
What will be the output of the following Python function?
float(‘-infinity’)
float(‘inf’)
Select an option to see the answer and solution.
What will be the output of the following Python function?
all(3,0,4.2)
Select an option to see the answer and solution.
What is the output of the function complex()?
Select an option to see the answer and solution.