πŸ“Š Problem Solving and Python Programming
Q. Which of the following functions accepts only integers as arguments?
  • (A) ord()
  • (B) min()
  • (C) chr()
  • (D) any()
πŸ’¬ Discuss
βœ… Correct Answer: (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.


Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
532
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate