What will be displayed by print(ord(‘b’) – ord(‘a’))?
What will be displayed by print(ord(‘b’) – ord(‘a’))? Correct Answer 1
ASCII value of b is one more than a. Hence the output of this code is 98-97, which is equal to 1.
মোঃ আরিফুল ইসলাম
Feb 20, 2025