1What is the output of the following code?print('-'.join(['2026', '10', '17']))A2026 10 17B['2026', '10', '17']C-2026-10-17D2026-10-17View AnswerDiscussWorkspaceReportSaveEasy
2Strings in Python are:AArrays of bytesBMutableCImmutableDMutable only with replace()View AnswerDiscussWorkspaceReportSaveEasy
3What is the output of the following code?print('hello world'.title().swapcase())AHELLO WORLDBhELLO wORLDCHello WorldDhello worldView AnswerDiscussWorkspaceReportSaveMedium
4What is the output of the following code?s = 'abc' try: s[0] = 'z' except TypeError: print('immutable')AabcBzbcCErrorDimmutableView AnswerDiscussWorkspaceReportSaveEasy
5What is the output of the following code?s = 'hello world' print(s.title(), s.upper().count('L'))AHello World 2BHello World 3CHELLO WORLD 3DHello world 3View AnswerDiscussWorkspaceReportSaveMedium