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(“”)
919
0
Do you find this helpful?
8

Discussion

No comments yet