Advertisements
Advertisements
Question
Explain the following built-in function.
chr()
Answer in Brief
Advertisements
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) |
|
shaalaa.com
Introduction to Python Functions
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
A Function which calls itself is called as ______
While defining a function which of the following symbol is used.
Read the following statement and choose the correct statement.
In Python, you don’t have to mention the specific data types while defining the function.
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
What is a function?
Write a Python code to check whether a given year is a leap year or not.
Explain the different types of functions with an example.
Write a Python code to find the L.C.M. of two numbers.
Explain the following built-in function.
type()
Explain the following built-in function.
pow()
