ExamVeda
Login
Home
Python Built In Functions
?

What does the built-in function chr() do in Python?

Answer & Solution
Correct Answer: Option A
The correct answer is Option A: Returns a string representing a character whose Unicode code point is the integer.
The chr() function in Python is used to return a string representing a character whose Unicode code point is the integer passed as an argument. For example, chr(65) returns the string 'A' because the Unicode code point of the character 'A' is 65. Therefore, the function converts integer Unicode code points to their corresponding characters.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.