12th Class Computers Science Sample Paper Python Revision Tour-Sample Paper-2

  • question_answer
    The opposite of ord() is

    A) chr()     

    B) dro()

    C) char()               

    D) str()

    Correct Answer: A

    Solution :

    [a] The opposite of ord() is chr() as ord() function return numeric value as per ASCll value like ord('A') will return 65 and chr() function returns character value as per ASCll like chr(65) will return 'A'.         


You need to login to perform this action.
You will be redirected in 3 sec spinner