A

Admin • 833K Points
Coach

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

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

Explanation by: Admin

`ord()` gives the ASCII (Unicode) integer value of a character.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.