Computer Science, asked by gtamanna2010, 1 month ago

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 n3od4rk3r
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