Q. Which function is used to get the ASCII value of a character in Python?
β
Correct Answer: (B)
ord()
Explanation: The `ord()` function returns the ASCII/Unicode value of a character. Example: `ord('A') = 65`.