πŸ“Š Problem Solving and Python Programming
Q. Which of the following functions does not necessarily accept only iterables as arguments?
  • (A) enumerate()
  • (B) all()
  • (C) chr()
  • (D) max()
πŸ’¬ Discuss
βœ… Correct Answer: (C) chr()

Explanation: the functions enumerate(), all() and max() accept iterables as arguments whereas the function chr() throws an error on receiving an iterable as an argument. also note that the function chr() accepts only integer values.


Explanation by: Mr. Dubey
the functions enumerate(), all() and max() accept iterables as arguments whereas the function chr() throws an error on receiving an iterable as an argument. also note that the function chr() accepts only integer values.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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