16What is the output of the following code?print(len('hello\n'))A6B7C5DErrorView AnswerDiscussWorkspaceReportSaveMedium
17What is the output of the following code?print('Data Science'.split())A['D', 'a', 't', 'a']BData ScienceC['Data Science']D['Data', 'Science']View AnswerDiscussWorkspaceReportSaveEasy
18What is the output of the following code?s = 'python' print(s.capitalize(), s.center(10, '*'))APython pythonBErrorCPYTHON pythonDPython pythonView AnswerDiscussWorkspaceReportSaveMedium
19What is the output of the following code?print('hello'[::-1])AErrorBhCollehDhelloView AnswerDiscussWorkspaceReportSaveEasy
20What is the output of the following code?print('banana'.count('a'), 'banana'.index('n'))A3 3B2 2C3 2D3 1View AnswerDiscussWorkspaceReportSaveEasy