Test Index
CBSE Class 12 Computer Science 2026 Paper Compartment
© examsnet.com
Question : 1 of 37
Marks:
+1,
-0
Which of the following is a keyword in Python ?
Solution:
Concept:Python keywords are reserved words and Python is case-sensitive. Except
True, False and None, all keywords are written in lowercase (break, for, class).Explanation:None is a keyword: it is the special constant that means 'no value'.Break, For and Class start with a capital letter, so they are not the keywords break, for and class; they are ordinary identifiers.Key point: Check the case. import keyword; keyword.iskeyword('None') gives True, but keyword.iskeyword('Break') gives False.Answer:Option B (None)© examsnet.com
Go to Question: