English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Explain the following built-in function. chr() - Computer Science

Advertisements
Advertisements

Question

Explain the following built-in function.

chr()

Answer in Brief

Solution

Function Description Syntax Example
chr() Returns the Unicode character for the given ASCII value. This function is inverse of the ord() function. chr (i)
c=65
d=43 
print (chr (c)) 
print(chr (d)) 
Output: A +
shaalaa.com
Introduction to Python Functions
  Is there an error in this question or solution?
Chapter 7: Python functions - Evaluation [Page 113]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 7 Python functions
Evaluation | Q 3. (b) | Page 113
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×