Computer Science, asked by st894060, 1 month ago

explain the guidelines for creating identifier in python​

Answers

Answered by spbankingandsscserie
4

Answer:

  • Identifiers can be a combination of letters in lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore _ . ...
  • An identifier cannot start with a digit. ...
  • Keywords cannot be used as identifiers. ...
  • We cannot use special symbols like !, @, #, $, % etc.
Answered by aditi7394mnps
1

Answer:

Rules for an Identifier:

An Identifier can only have alphanumeric characters(a-z , A-Z , 0-9) and underscore( _ ). The first character of an identifier can only contain alphabet(a-z, A-Z) or underscore ( _ ). Identifiers are also case sensitive in C. For example, name and Name are two different identifiers in C.

Similar questions