Computer Science, asked by nishanthd20092, 6 months ago

what is identifier what are the identifier forming rules of pyrhon​

Answers

Answered by Anonymous
10

A Python identifier is a name used to identify a variable, function, class, module or other object. An identifier starts with a letter A to Z or a to z or an underscore (_) followed by zero or more letters, underscores and digits (0 to 9).

Rules to Create Python Identifiers:-

  • Identifier name can't begin with a digit.
  • Python identifier can't contain only digits.
  • Python identifier name can start with an underscore.
  • There is no limit on the length of the identifier name.
  • Python identifier names are case sensitive.
Answered by dangerousqueen01
11

\huge{\red{\boxed{\overline{\underline{\mid\mathfrak{Answer}}}}}}

 \small\sf\green{\underline{Python \:  identifier}}

A Python identifier is a name used to identify a variable, function, class, module or other object. An identifier starts with a letter A to Z or a to z or an underscore ( _ ) followed by zero or more letters, underscores and digits (0 to 9).

 \small\sf\blue{\underline{The \:identifier \:  forming  \: rules  \: of \:  python}}

Python does not allow punctuation characters such as @, $, and % within identifiers. Python is a case sensitive programming language.

Similar questions