Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.17K Points
Coach

Q.) Which of the following functions accepts only integers as arguments?

(A) ord()
(B) min()
(C) chr()
(D) any()
Correct answer : Option (C) - chr()

Explanation:
 the function chr() accepts only integers as arguments. the function ord() accepts only strings. the functions min() and max() can accept floating point as well as integer arguments.

Share

Discusssion

Login to discuss.