1What is the output of the following code?print(hex(255), oct(8), bin(5))AErrorB0xff 0o10 0b101C0xFF 0o8 0b101Dff 10 101View AnswerDiscussWorkspaceReportSaveEasy
2What is the output of the following code?print(list(reversed([1, 2, 3])), max('apple'))A[3, 2, 1] eB[3, 2, 1] aC[1, 2, 3] pD[3, 2, 1] pView AnswerDiscussWorkspaceReportSaveMedium
3What is the output of the following code?print(isinstance([], list), type([]) is list, id(1) == id(1))ATrue False TrueBTrue True TrueCErrorDTrue True FalseView AnswerDiscussWorkspaceReportSaveHard
4What is the output of the following code?print(list(zip([1, 2, 3], 'ab')))A[(1, 'a'), (2, 'b')]BErrorC[(1, 'a'), (2, 'b'), (3, None)]D[1, 'a', 2, 'b']View AnswerDiscussWorkspaceReportSaveEasy
5What is the output of the following code?print(list(range(5, 0, -2)))A[5, 3, 1, -1]B[5, 3, 1]C[1, 3, 5]D[]View AnswerDiscussWorkspaceReportSaveEasy