Examveda

Which of the following functions accepts only integers as arguments?

A. ord()

B. min()

C. chr()

D. any()

Answer: Option B

Solution (By Examveda Team)

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.

This Question Belongs to Python Program >> Python Built In Functions

Join The Discussion

Related Questions on Python Built In Functions