State with reasons why are the following variables names invalid? (i) for (ii) book list
Answers
Answered by
3
Answer:
hi...
Explanation:
1)for is invalid as it's a keyword in python.
2)book list is invalid as it contains space and python for naming allows only underscore(_) as a speacial character to be used hence space being a speacial character will not be valid.
hope it helps you ☺️
Similar questions