1What is the output of the following code?square = lambda x: x * x print(square(6))AErrorB12C6D36View AnswerDiscussWorkspaceReportSaveEasy
2What is the output of the following code?print(list(map(lambda x: x + 1, [1, 2, 3])))A[2, 3, 4]BErrorC[2, 4, 6]D[1, 2, 3]View AnswerDiscussWorkspaceReportSaveEasy
3What is the output of the following code?sq = lambda x: x * x print(sq(9))A9B18C81DErrorView AnswerDiscussWorkspaceReportSaveEasy
4What is the output of the following code?from functools import lru_cache @lru_cache def fib(n): return n if n < 2 else fib(n - 1) + fib(n - 2) print(fib(30))A832040B514229C1346269DErrorView AnswerDiscussWorkspaceReportSaveMedium
5What is the output of the following code?print(list(map(str.upper, ['a', 'b'])))A['A', 'B']BABCErrorD['a', 'b']View AnswerDiscussWorkspaceReportSaveEasy