Which of the following would produce this list?
[65, 66, 67, 68]
Which of the following would produce this list?
[65, 66, 67, 68]
The correct option is the one that uses `map(ord, 'ABCD')`. The `ord` function returns the Unicode code point for a given character. Thus, `map(ord, 'ABCD')` converts each character in the string 'ABCD' to their respective Unicode code points, resulting in the list [65, 66, 67, 68].
The option is a
This answer doesn't work in Python3 only python2
range and int