Which of the following can be used as valid identifier(s) in Python?
i. 1Number
ii. Number$1
iii. Number.1
iv. _Number1
Answers
Answered by
2
Answer:
iv. _Number1
Explanation:
Identifiers can be combination of uppercase and lowercase letters, digits or an underscore(_).
So, myVariable, variable_1, variable_for_print all are valid python identifiers. An Identifier can not start with digit.
Similar questions