16What is the output of the following code?t = (5,) print(type(t).__name__, len(t))Atuple 1Bint 1Clist 1Dtuple 5View AnswerDiscussWorkspaceReportSaveEasy
17What is the output of the following code?t = () print(len(t), bool(t))AErrorB1 FalseC0 FalseD0 TrueView AnswerDiscussWorkspaceReportSaveEasy
18What is the output of the following code?t = (4, 9, 2) print(max(t), sum(t))A4 15B9 13C9 15DErrorView AnswerDiscussWorkspaceReportSaveEasy
19What is the output of the following code?print(tuple('abc'))A['a', 'b', 'c']B('abc',)CErrorD('a', 'b', 'c')View AnswerDiscussWorkspaceReportSaveEasy
20What is the output of the following code?t = (1, 2, 3, 4, 5) print(t[1:4])A(2, 3, 4)B(2, 3)C(1, 2, 3, 4)D[2, 3, 4]View AnswerDiscussWorkspaceReportSaveEasy