Exam-style question
Try this first
In Python 3, what is the result of ord("A")?.
- A.1
- B.26
- C.65
- D.The string "A"
Answer and explanation
Concise answer
65
Why this is correct
ord converts a character into its character code. The character code for uppercase A is 65.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
