<?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: ananyaa sri</title>
    <description>The latest articles on DEV Community by ananyaa sri (@ananyaa_sri_b538d18281bac).</description>
    <link>https://dev.to/ananyaa_sri_b538d18281bac</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4243184%2F15a9618b-d30c-4472-adb8-a6bcbf7e4c7c.png</url>
      <title>DEV Community: ananyaa sri</title>
      <link>https://dev.to/ananyaa_sri_b538d18281bac</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ananyaa_sri_b538d18281bac"/>
    <language>en</language>
    <item>
      <title>Python Practice – Day 1: Count the Number of Digits Using a While Loop</title>
      <dc:creator>ananyaa sri</dc:creator>
      <pubDate>Wed, 18 Nov 2026 15:03:54 +0000</pubDate>
      <link>https://dev.to/ananyaa_sri_b538d18281bac/python-practice-day-1-count-the-number-of-digits-using-a-while-loop-38d</link>
      <guid>https://dev.to/ananyaa_sri_b538d18281bac/python-practice-day-1-count-the-number-of-digits-using-a-while-loop-38d</guid>
      <description>&lt;p&gt;no = 7654&lt;br&gt;
count = 0&lt;br&gt;
no = no // 10  #no = 765&lt;br&gt;
count+=1&lt;br&gt;
no = no // 10  #no = 76&lt;br&gt;
count+=1        #2&lt;br&gt;
no = no // 10  #no = 7&lt;br&gt;
count+=1        #3&lt;br&gt;
no = no // 10  #no = 0&lt;br&gt;
count+=1&lt;/p&gt;

&lt;p&gt;step-2&lt;br&gt;
no = 7654&lt;br&gt;
count = 0&lt;br&gt;
while no &amp;gt; 0:&lt;br&gt;
no = no // 10  #no = 765&lt;br&gt;
count+=1&lt;br&gt;
no = no // 10  #no = 76&lt;br&gt;
count+=1        #2&lt;br&gt;
no = no // 10  #no = 7&lt;br&gt;
count+=1        #3&lt;br&gt;
no = no // 10  #no = 0&lt;br&gt;
count+=1&lt;br&gt;
no = no // 10  #no = 0&lt;br&gt;
count+=1&lt;br&gt;
no = no // 10  #no = 0&lt;br&gt;
count+=1&lt;/p&gt;

&lt;p&gt;step 3:&lt;br&gt;
no = 7654&lt;br&gt;
count_of_digits = 0&lt;br&gt;
while no &amp;gt; 0:&lt;br&gt;
    no = no // 10  #no = 765&lt;br&gt;
    count_of_digits+=1&lt;br&gt;
else:&lt;br&gt;
    print(count_of_digits)&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>coding</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Identifiers, Variables, Keywords and Data Types</title>
      <dc:creator>ananyaa sri</dc:creator>
      <pubDate>Wed, 18 Nov 2026 04:54:07 +0000</pubDate>
      <link>https://dev.to/ananyaa_sri_b538d18281bac/identifiers-variables-keywords-and-data-types-38ka</link>
      <guid>https://dev.to/ananyaa_sri_b538d18281bac/identifiers-variables-keywords-and-data-types-38ka</guid>
      <description>&lt;p&gt;Today, I learned about identifiers, variables, naming rules, Python keywords, the Zen of Python, IDEs, and basic data types.&lt;/p&gt;

&lt;p&gt;Let's understand each concept with simple explanations and practical examples.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What are Identifiers in Python?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;An identifier is a name used to identify an element in a Python program.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Sanjay'&lt;/span&gt;
&lt;span class="n"&gt;doubt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;
&lt;span class="n"&gt;doubt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;
&lt;span class="n"&gt;questions&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;name&lt;/code&gt; is an identifier.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;doubt&lt;/code&gt; is an identifier.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;questions&lt;/code&gt; is an identifier.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The values assigned to these identifiers are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;'Sanjay'&lt;/code&gt; – String&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;True&lt;/code&gt; – Boolean&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;5&lt;/code&gt; – Integer&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Understanding the Assignment Operator (=)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Narasimma'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;name&lt;/code&gt; – Identifier (variable name)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;=&lt;/code&gt; – Assignment operator&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'Narasimma'&lt;/code&gt; – Value&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The assignment operator assigns the value on the right-hand side to the variable on the left-hand side.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rules for Naming Identifiers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python follows certain rules when naming identifiers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Alphabets: Both lowercase and uppercase letters are allowed.&lt;/li&gt;
&lt;li&gt;Digits: Numbers from 0 to 9 are allowed, but an identifier cannot start with a digit.&lt;/li&gt;
&lt;li&gt;Underscore (_): An underscore can be used in an identifier.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Valid Identifiers&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Raja'&lt;/span&gt;
&lt;span class="n"&gt;name1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Raja'&lt;/span&gt;
&lt;span class="n"&gt;name2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Sanjay'&lt;/span&gt;
&lt;span class="n"&gt;_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Megal'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Invalid Identifier&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="mi"&gt;1name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Raja'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is invalid because an identifier cannot start with a number.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding Underscores
&lt;/h3&gt;

&lt;p&gt;Python uses underscores in different ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;_name&lt;/code&gt; – A convention indicating that the variable is intended for internal use.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;__name&lt;/code&gt; – Uses a double leading underscore, which triggers name mangling in classes.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;__name__&lt;/code&gt; – A special naming convention commonly used for Python's built-in special methods and attributes.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>The History of Python: How It Started and How It Became Popular</title>
      <dc:creator>ananyaa sri</dc:creator>
      <pubDate>Tue, 17 Nov 2026 14:57:11 +0000</pubDate>
      <link>https://dev.to/ananyaa_sri_b538d18281bac/the-history-of-python-how-it-started-and-how-it-became-popular-2k89</link>
      <guid>https://dev.to/ananyaa_sri_b538d18281bac/the-history-of-python-how-it-started-and-how-it-became-popular-2k89</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Python is one of the most widely used programming languages in the world. It is known for its simple syntax, readability, and flexibility.&lt;/p&gt;

&lt;p&gt;But have you ever wondered who created Python, when it was created, and why it became so popular?&lt;/p&gt;

&lt;p&gt;Let's explore its history.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Who Created Python?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python was created by &lt;strong&gt;Guido van Rossum&lt;/strong&gt;, a Dutch programmer.&lt;/p&gt;

&lt;p&gt;He started developing Python in December 1989 while working at CWI (Centrum Wiskunde &amp;amp; Informatica) in the Netherlands.&lt;/p&gt;

&lt;p&gt;His goal was to create a programming language that was easy to read, simple to understand, and powerful enough for different programming tasks.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;When Was Python Created?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python's development began in 1989.&lt;/p&gt;

&lt;p&gt;Its first public release, Python 0.9.0, came in February 1991.&lt;/p&gt;

&lt;p&gt;The first official Python 1.0 release followed in 1994.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why Is It Called Python?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is an interesting fact!&lt;/p&gt;

&lt;p&gt;Python was not named after the snake.&lt;/p&gt;

&lt;p&gt;Guido van Rossum was a fan of a British comedy television show called &lt;strong&gt;Monty Python's Flying Circus&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;He wanted a short, unique, and interesting name for his programming language. That's how the name Python came about.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Evolution of Python&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python has developed through several major versions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python 1.0 (1994):&lt;/strong&gt; The first official release.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python 2.0 (2000):&lt;/strong&gt; Introduced several important improvements and new features.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python 3.0 (2008):&lt;/strong&gt; Introduced major changes to make the language more consistent and improve its design.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Python 3 continues to evolve with new releases and improvements.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why Did Python Become Popular?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Some important reasons behind Python's popularity are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simple and readable syntax.&lt;/li&gt;
&lt;li&gt;Easy for beginners to learn.&lt;/li&gt;
&lt;li&gt;Large collection of libraries and frameworks.&lt;/li&gt;
&lt;li&gt;Supports multiple programming styles.&lt;/li&gt;
&lt;li&gt;Used in web development, automation, data science, machine learning, and artificial intelligence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;Python started as a project by Guido van Rossum in 1989 and gradually developed into a powerful programming language.&lt;/p&gt;

&lt;p&gt;Today, Python is used across many areas of technology, from software development to data engineering and artificial intelligence.&lt;/p&gt;

&lt;p&gt;Understanding its history gives us a better idea of how this programming language evolved.&lt;/p&gt;

&lt;p&gt;This is just the beginning of my Python learning series. More concepts coming soon! 🚀&lt;/p&gt;

</description>
      <category>python</category>
    </item>
  </channel>
</rss>
