McqMate
Q. |
Which of the following functions does not necessarily accept only iterables as arguments? |
A. | enumerate() |
B. | all() |
C. | chr() |
D. | max() |
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. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet