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"
Model answer
What a good answer should say
- 65
Explanation
Why this works
ord converts a character into its character code. The character code for uppercase A is 65.
Common mistake
No common mistake is linked to this question yet.
