<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bhargav Reddy on Medium]]></title>
        <description><![CDATA[Stories by Bhargav Reddy on Medium]]></description>
        <link>https://medium.com/@bhargavreddyX?source=rss-0c0161eb2305------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3mAtkM__AMYSAlllLIXuzg.jpeg</url>
            <title>Stories by Bhargav Reddy on Medium</title>
            <link>https://medium.com/@bhargavreddyX?source=rss-0c0161eb2305------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:27:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhargavreddyX/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DATA TYPES IN PYTHON]]></title>
            <link>https://medium.com/@bhargavreddyX/data-types-in-python-1170fce58e01?source=rss-0c0161eb2305------2</link>
            <guid isPermaLink="false">https://medium.com/p/1170fce58e01</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Bhargav Reddy]]></dc:creator>
            <pubDate>Wed, 11 Oct 2023 18:02:39 GMT</pubDate>
            <atom:updated>2023-10-11T18:02:39.793Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Data types are like the building blocks of Python programs. They tell us what kind of information we’re working with and help us do things with it. In this blog, we’ll take a closer look at the data types in Python, such as data collections like numbers, sets, strings, lists, dictionaries, and tuples.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXxWsMvvnHQn5FBKDyujAQ.png" /></figure><h3><strong>Numeric data types</strong></h3><ul><li>Integers : Integers in Python data types are whole numbers, both positive and negative, without any decimal or fractional part. They are used to represent discrete, whole quantities and can be manipulated in various mathematical operations within Python programs.</li><li>Float : A float represents a number with a decimal point or a fractional component. It is used to store and manipulate real numbers, including values that are not whole. Floats are essential for tasks involving precision or continuous data and are commonly employed in various mathematical and scientific computations.</li><li>Complex : A complex number represents a mathematical complex number with both a real part and an imaginary part. Complex numbers in Python are denoted using the “j” suffix, such as (3 + 2j), where 3 is the real part and 2j is the imaginary part.</li></ul><h3><strong>Dictionary</strong></h3><p>In Python data types, a dictionary is an unordered and mutable collection that stores data in key-value pairs. Each key within the dictionary is unique and is associated with a corresponding value. Dictionaries are versatile and commonly used for efficient data retrieval and storage, making them valuable for tasks like organizing, searching, and managing data in Python programs.</p><h3>Sets</h3><p>In Python data types, a set is an unordered and mutable collection that holds unique elements. Sets are useful for storing and performing operations on distinct values. They offer functions for common set operations, such as union, intersection, and difference, making them valuable for tasks like eliminating duplicates or determining common elements between datasets in Python programs.</p><h3>Boolean</h3><p>In Python data types, a boolean represents a binary value that can have one of two possible states: True or False. Boolean are primarily used to control the flow of program logic through conditional statements and loops, making decisions based on whether a condition is true or false. They are fundamental for making choices and implementing logical operations in Python programs.</p><h3>Sequence</h3><ul><li>String : In Python data types, a string is a sequence of characters, such as letters, numbers, symbols, or spaces, enclosed within single, double, or triple quotes. Strings are versatile and widely used for handling textual data. They support various operations for text manipulation, searching, and formatting, making them essential for tasks like text processing, data representation, and user input/output in Python programs.</li><li>List : In Python data types, a list is an ordered and mutable collection that can hold a variety of values, including numbers, strings, and other data types. Lists are created by enclosing elements within square brackets and separated by commas. They are versatile and commonly used for storing, organizing, and manipulating multiple items, making them valuable for tasks like data storage, iteration, and data processing in Python programs.</li><li>Tuple : In Python data types, a tuple is an ordered and immutable collection that can store a sequence of values. Tuples are created by enclosing elements within parentheses and separating them by commas. Unlike lists, once a tuple is defined, its elements cannot be changed. Tuples are often used to group related data elements together and are valuable for tasks like data integrity, function returns, and data storage when you want to ensure that the data remains constant.</li></ul><p>Thank you for your eagerness to learn Python’s basics. Keep coding, keep exploring, and may your Python journey know no bounds!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1170fce58e01" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>