Skip to content
Related Articles
Open in App
Not now

Related Articles

Python | Functions | Question 3

Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!