A

Admin • 833K Points
Coach

Q. Which built-in function is used to get the ASCII value of a character?

  • (A) ord()
  • (B) chr()
  • (C) ascii()
  • (D) ordValue()
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`ord('A')` returns 65, the ASCII value of character 'A'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.