Home » Programming Language (coding) » Python MCQ » Study the following statements: >>> print(ord(‘h’) – ord(‘z’))

Study the following statements: >>> print(ord(‘h’) – ord(‘z’))

Study the following statements:

>>> print(ord('h') - ord('z'))

A. 18
B. -18
C. 17
D. -17

Answer: B. -18

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
28 + 14 =