1What is the output of the following code?print((1, 2) + (3,), (1, 2) * 2)A(4, 2) (1, 2, 1, 2)B(1, 2, 3) (2, 4)C(1, 2, 3) (1, 2, 1, 2)DErrorView AnswerDiscussWorkspaceReportSaveEasy
2What is the output of the following code?a, b, c = (1, 2, 3) print(b)A(1, 2, 3)B3C2D1View AnswerDiscussWorkspaceReportSaveEasy
3What is the output of the following code?t = (1, 2, 2, 3, 2) print(t.count(2), t.index(3))A2 3B3 3C3 2D3 4View AnswerDiscussWorkspaceReportSaveEasy
4What is the output of the following code?first, *_, last = (10, 20, 30, 40) print(first, last)A10 30B10 20CErrorD10 40View AnswerDiscussWorkspaceReportSaveMedium
5What happens when you run: t = (1, 2); t[0] = 5At becomes (5, 2)Bt becomes [5, 2]CTypeError is raisedDNothing happensView AnswerDiscussWorkspaceReportSaveEasy