<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ashish Kumar</title>
    <description>The latest articles on DEV Community by Ashish Kumar (@jhakumarashish).</description>
    <link>https://dev.to/jhakumarashish</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F281257%2F50a97147-ef79-4afc-9081-3a7d82398855.jpg</url>
      <title>DEV Community: Ashish Kumar</title>
      <link>https://dev.to/jhakumarashish</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jhakumarashish"/>
    <language>en</language>
    <item>
      <title>Rules to define identifiers in Python:</title>
      <dc:creator>Ashish Kumar</dc:creator>
      <pubDate>Tue, 14 Apr 2020 13:02:06 +0000</pubDate>
      <link>https://dev.to/jhakumarashish/rules-to-define-identifiers-in-python-1809</link>
      <guid>https://dev.to/jhakumarashish/rules-to-define-identifiers-in-python-1809</guid>
      <description>&lt;ol&gt;
&lt;li&gt;The only allowed characters in Python are
alphabet symbols(either lower case or upper case)
digits(0 to 9)
underscore symbol(_)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By mistake if we are using any other symbol like $ then we will get syntax error.&lt;br&gt;
 cash = 10 Correct&lt;br&gt;
 ca$h = 20 Incorrect&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Identifier should not starts with digit&lt;br&gt;
123total Correct &lt;br&gt;
total123 Incorrect&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identifiers are case sensitive. Of course Python language is case sensitive language.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;total=10&lt;br&gt;
 TOTAL=999&lt;br&gt;
 print(total) #10&lt;br&gt;
 print(TOTAL) #999&lt;/p&gt;

&lt;p&gt;Identifier:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Alphabet Symbols (Either Upper case OR Lower case)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If Identifier is start with Underscore (_) then it indicates it is private.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identifier should not start with Digits.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identifiers are case sensitive.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We cannot use reserved words as identifiers&lt;br&gt;
Eg: def=10 &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;There is no length limit for Python identifiers. But not recommended to use too lengthy&lt;br&gt;
identifiers.Identifier:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Dollor ($) Symbol is not allowed in Python.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
