Python | Functions | Question 3

What is the output of the following segment :


(A) A
(B) B
(C) a
(D) Error

Answer: (A)

Explanation: ord() function converts a character into its ASCII notation and chr() converts the ASCII to character.

Quiz of this Question

My Personal Notes arrow_drop_up

Practice Tags :

Recommended Posts:

0 Average Difficulty : 0/5.0
No votes yet.

User Actions