Identify the invalid keyword in Python from the following:
(a) True (b) None (c) Import (d) return
Answers
Answered by
2
Answer:
D) return
return keyword is invalid in python it doesn't require to use return keyword
Answered by
4
(c) Import is the invalid keyword in Python.
- Python is a widely used programming language. It has various keywords.
- The keyword 'import' in Python will have small letter 'i'.
- The keyword 'import' is used to call the module.
- The keyword 'return' is used to return a value and to exit the function.
- The keyword 'True' gives a Boolean output in Python.
- The keyword 'None' is used in Python to represent the absence of a value.
Similar questions