Examveda

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

A. [97, 98, 99]

B. ['97', '98', '99']

C. [65, 66, 67]

D. Error

Answer: Option A


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python