1Which keyword is used to define a function in Python?AfunBdefineCfunctionDdefView AnswerDiscussWorkspaceReportSaveEasy
2What does the input() function return?AA floatBAn integer if a number is typedCIt depends on the inputDAlways a stringView AnswerDiscussWorkspaceReportSaveEasy
3What is the output of the following code?x = 7 y = 2 print(x // y, x % y)A3 1B3.5 1C3 0D4 1View AnswerDiscussWorkspaceReportSaveEasy
4What is the output of the following code?print('Line1\nLine2')ALine1\nLine2BLine1 Line2CLine1 Line2DLine1Line2View AnswerDiscussWorkspaceReportSaveEasy
5What is the output of the following code?print(2 ** 3 ** 2)A18B512C64D36View AnswerDiscussWorkspaceReportSaveMedium