<?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: Avinash Kumar</title>
    <description>The latest articles on DEV Community by Avinash Kumar (@avinash1410cyber).</description>
    <link>https://dev.to/avinash1410cyber</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%2F916276%2Fb20bbf94-b9e1-4234-8914-d2952293e073.jpeg</url>
      <title>DEV Community: Avinash Kumar</title>
      <link>https://dev.to/avinash1410cyber</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/avinash1410cyber"/>
    <language>en</language>
    <item>
      <title>Data Types In Python</title>
      <dc:creator>Avinash Kumar</dc:creator>
      <pubDate>Mon, 21 Oct 2024 14:30:58 +0000</pubDate>
      <link>https://dev.to/avinash1410cyber/data-types-in-python-47ep</link>
      <guid>https://dev.to/avinash1410cyber/data-types-in-python-47ep</guid>
      <description>&lt;p&gt;Let’s talk about data types in Python today!&lt;/p&gt;

&lt;p&gt;But before we dive into Python’s specific data types, let’s first understand what data types actually mean.&lt;/p&gt;

&lt;p&gt;If you break it down, the term "data types" can be understood as the type of data. For example, your name is a word, but your age is a number. These two things are different types of data. One is a string of characters (text), and the other is a numerical value.&lt;/p&gt;

&lt;p&gt;In programming, data types help us define and categorize the kind of data we are dealing with, so the program knows how to handle it correctly.&lt;/p&gt;

&lt;p&gt;For example: Your name is a word, but your age is a number.&lt;/p&gt;

&lt;p&gt;Ok, so in Python, the following are the built-in data types:&lt;/p&gt;

&lt;p&gt;int (Integer)&lt;br&gt;
float (Floating point number)&lt;br&gt;
str (String)&lt;br&gt;
bool (Boolean)&lt;br&gt;
Let’s talk about each of them:&lt;/p&gt;

&lt;p&gt;int means integer. For example, a number without a decimal such as 3, 4, or 6.&lt;br&gt;
float is also a number, but it has decimals. For example, 3.0 or 4.0.&lt;br&gt;
str represents a sequence of characters, such as a word. For example, a name like "Avinash".&lt;br&gt;
bool is either True or False. For example, "I am a genius 🤪🤪", which is True 🤪🤪.&lt;br&gt;
Now, along with these, there are also some other data types in Python used to store multiple values:&lt;/p&gt;

&lt;p&gt;list&lt;br&gt;
set&lt;br&gt;
dict&lt;br&gt;
tuple&lt;br&gt;
These are mainly used for storing more than one value at a time.&lt;/p&gt;

</description>
      <category>python</category>
      <category>interview</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
