Basic Syntax Rules-Python Language
![]() |
![]() |
![]() |
Title of test:![]() Basic Syntax Rules-Python Language Description: Basic Syntax Rules-Python Language |




New Comment |
---|
NO RECORDS |
What is the Python file extension?. .docx. .pyt. .py. .txt. Which punctuation character is not allowed in Python?. @,$,&. @,$,%. %,$,!. %,?,!. What is a Python identifier?. It is a name used to identify a variable, function, class, module, or other object. It is used to identify a Python code line. It is used for debugging the Python code when you get error. It is used for indenting the block of the python code. Python is a case sensitive programming language?. True. False. Python class name always start with uppercase?. True. False. Reserved words in Python language can not be used as a constant (or) variable (or) any other identifier. True. False. The continuous lines indented with same number of spaces would form a block. True. False. The number of spaces in the indentation is fixed. True. False. How do you identify a line continuation character in Python when you use a 'Multi Line Statement '?. \ (Backward slash). / (Forward slash). # (Hash tag). When do you NOT needed a line continuation character ( \ = backward slash)?. When the statement contains brackets. When the statement contains ' / ' [ forward slash]. When the statement contains # [Hash tag]. |