which of the following is not a valid variable name in python? justify reason for it not being a valid name.
Answers
Answered by
2
Answer:
The answer is 5Radius
Explanation:
- It is because:
- A Valid identifier in Python doesn't start with a number.
- Once can use underscore anywhere.
- An identifier in Python can contain small case letters (a-z), upper case letters (A-Z), digits (0-9), and underscore (_).
- An identifier can't only contain digits.
- the name of the identifier in Python is case sensitive.
- so, the correct identifier is: 5Radius
Similar questions