<?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 Bhegadeayush on Medium]]></title>
        <description><![CDATA[Stories by Bhegadeayush on Medium]]></description>
        <link>https://medium.com/@bhegadeayush23?source=rss-fe710110f803------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*koNwsTFVg5riBEM8</url>
            <title>Stories by Bhegadeayush on Medium</title>
            <link>https://medium.com/@bhegadeayush23?source=rss-fe710110f803------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:49:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhegadeayush23/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[Tuples in Python]]></title>
            <link>https://medium.com/@bhegadeayush23/tuples-in-python-f6927a2c90f8?source=rss-fe710110f803------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6927a2c90f8</guid>
            <dc:creator><![CDATA[Bhegadeayush]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 06:18:02 GMT</pubDate>
            <atom:updated>2026-10-06T06:18:02.000Z</atom:updated>
            <content:encoded><![CDATA[<p>A <strong>tuple</strong> is a collection of elements in Python. It is used to store multiple values in a single variable. Tuples are similar to lists, but the main difference is that <strong>tuples cannot be changed after they are created</strong>. This is called immutability.</p><p>Tuples are written using round brackets ().</p><pre>numbers = (10, 20, 30, 40)</pre><p>In this example, the tuple contains four numbers. We can access each element using its index. Python starts indexing from 0, so the first element is at index 0.</p><p>Tuples can store different types of data, such as strings, numbers, and Boolean values.</p><pre>student = (&quot;Rahul&quot;, 15, &quot;A&quot;)</pre><p>One important feature of tuples is that they are <strong>immutable</strong>. We cannot change, add, or remove elements from a tuple once it has been created. This makes tuples useful for storing information that should remain fixed.</p><p>We can also use <strong>tuple unpacking</strong> to assign tuple values to different variables.</p><pre>person = (&quot;Amit&quot;, 18)<br>name, age = person</pre><p>Tuples are useful in many Python programs. They can be used to store fixed data, return multiple values from a function, and represent groups of related information.</p><p>In conclusion, tuples are simple and useful data structures in Python. They are easy to create and access, and their unchangeable nature makes them suitable for storing fixed information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6927a2c90f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>