Python Fundamental Quiz 3 Share with others Enter details and click on Next Name Email School Name Q21. Which of the following symbol is used to write comment? ? // # ** None Q22. Writing comments is mandatory in python programs(T/F) False True None Q23. Each statement in python is terminated by ________ Semicolon(;) Colon(:) Comma(,) None of the above None Q24. Write the output of the following: print('Hello, world!');print("H") Hello world H Hello worldH Hello world H Error None Q25. _______ spaces should be left for indentation. 3 4 5 0 None Q26. What type of error is returned by the following statement? def abc(a):print(a) ErrorIndentation IndentationError SpaceError No error in the given statement None Q27. return statement is mandatory in function definition.(T/F) False True None Q28. Which keyword is used to define a function in python? def define new None Q29. Write the output of the following: a=8def abc(a): print(a)abc(7) 8 Error No Output 7 None Q30. Statement below "function definition" begin with spaces called _______ Indentation Condition Definition None Time's upTime is Up! Related Share with others Leave a ReplyCancel reply