Question-20: What is the true statement with regards to Keyword in Python programming?
- Keywords are reserved word by Python Programming
- You can only use them as part of function name
- You can only use them as part of variable name
- You can not use it as part of variable name
- You can not use it as part of function name
Answer: A,D,E
Exp:
Keywords
- This is reserved by Python and you should not use them as a variable.
- Even your function name should not be using keyword
- Meaning of the Keyword is pre-defined by Python Programming language and should not be altered.
- and - as - assert - break class - continue - def - del - elif - else - except - finally - False - for - from - global - if - import - in - is - lambda - nonlocal - not - None - or - pass - raise - return - True - try - while - with - yield |