Test Index
Python Revision Tour
© examsnet.com
Question : 78 of 102
Marks:
+1,
-0
Which of the following is a valid keyword in Python ?
[CBSE 2023 Set 4]
Solution:
Concept:Keywords are reserved words with a fixed meaning in Python. They are case-sensitive.Explanation:
return is a keyword (it sends a value back from a function).false and none are not keywords: the keywords are False and None with a capital letter.non_local is not a keyword: the keyword is nonlocal (no underscore).Answer:Option B (return)© examsnet.com
Go to Question: