Python identifiers - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Python identifiers

Python identifiers

Python identifiers


Variables are examples of identifiers. Identifiers are names given to identify something. There are some rules you have to follow for naming identifiers:
  1.  The first character of the identifier must be a letter of the alphabet (upper or lowercase) or an underscore ('_').
  2.  The rest of the identifier name can consist of letters (upper or lowercase), underscores ('_') or digits (0-9).
  3.  Identifier names are case-sensitive. For example, myname and myName are not the same. Note the lowercase n in the former and the uppercase N in te latter.
  4.  Examples of valid identifier names are i, __my_name, name_23 and a1b2_c3.
  5.  Examples of invalid identifier names are 2things, this is spaced out and my-name.
I hope this tutorial helped you Python identifiers Tutorial.  As always, if you found this post useful, then subscribe to our free newsletter. You can also follow us on Google+, Twitter or like our Facebook page.

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.