Vidyalelo
Python · Q55

Python Built

Programming · Python · question 55

Q55

Which of the following functions accepts only integers as arguments?

A.
ord()
B.
min()
Answer
C.
chr()
D.
any()

Answer: Option B

Solution

Answer: Option B
Solution:
The min() function in Python is used to find the minimum value among its arguments. It can accept multiple arguments, and they can be integers, floats, or strings. However, it does not accept non-numeric types like lists or tuples as arguments.