Vidyalelo
Python · Q65

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 65

Q65

What will be the output of the following Python code? [ord(ch) for ch in 'abc']

A.
[97, 98, 99]
Answer
B.
['97', '98', '99']
C.
[65, 66, 67]
D.
Error

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board