QuestionQ54
VerifiedMiscellaneous (List Comprehensions, Lambdas, Closures, I/O)What is the expected result of this code?
mytu = ('a', 'b', 'c')
m = tuple(map(lambda x: chr(ord(x) + 1), mytu))
print(m[-2])
What is the expected result of this code?
mytu = ('a', 'b', 'c')
m = tuple(map(lambda x: chr(ord(x) + 1), mytu))
print(m[-2])
Community Discussion