6What is the output of the following code?print(ord('A'), chr(98))A65 BB65 bCA 98D97 bView AnswerDiscussWorkspaceReportSaveEasy
7What is the output of the following code?print(sorted('dcba'), ''.join(reversed('abc')))A['d', 'c', 'b', 'a'] abcBErrorC['a', 'b', 'c', 'd'] cbaDabcd cbaView AnswerDiscussWorkspaceReportSaveEasy
8What is the output of the following code?print(list(range(5, 0, -2)))A[5, 3, 1, -1]B[]C[1, 3, 5]D[5, 3, 1]View AnswerDiscussWorkspaceReportSaveEasy
9What is the output of the following code?print(hex(255), oct(8), bin(5))A0xff 0o10 0b101BErrorC0xFF 0o8 0b101Dff 10 101View AnswerDiscussWorkspaceReportSaveEasy
10What is the output of the following code?print(all([]), any([]))AFalse FalseBFalse TrueCTrue FalseDTrue TrueView AnswerDiscussWorkspaceReportSaveMedium