McqMate
Q. |
Which of the following functions does not throw an error? |
A. | ord() |
B. | ord(‘ ‘) |
C. | ord(”) |
D. | ord(“”) |
Answer» B. ord(‘ ‘) | |
Explanation: the function ord() accepts a character. hence ord(), ord(”) and ord(“”) |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet