<?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 KONATHALA MUKHESH VAMSI 25BEC7157 on Medium]]></title>
        <description><![CDATA[Stories by KONATHALA MUKHESH VAMSI 25BEC7157 on Medium]]></description>
        <link>https://medium.com/@mukhesh.25bec7157?source=rss-c82009f928a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*h6R_kUyzoYPmaPMW</url>
            <title>Stories by KONATHALA MUKHESH VAMSI 25BEC7157 on Medium</title>
            <link>https://medium.com/@mukhesh.25bec7157?source=rss-c82009f928a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:34:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mukhesh.25bec7157/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[Beginner’s Guide: Operators In Python]]></title>
            <link>https://medium.com/@mukhesh.25bec7157/beginners-guide-operators-in-python-2683e0053d2d?source=rss-c82009f928a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2683e0053d2d</guid>
            <category><![CDATA[operators-in-python]]></category>
            <dc:creator><![CDATA[KONATHALA MUKHESH VAMSI 25BEC7157]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 18:30:40 GMT</pubDate>
            <atom:updated>2025-12-09T18:30:40.608Z</atom:updated>
            <content:encoded><![CDATA[<p>In Python, <strong>operators</strong> are special symbols that perform operations on variables and values. They help you perform mathematical calculations, compare values, make logical decisions, assign values, and more.</p><h4>Python supports several types of operators:</h4><ul><li><strong>Arithmetic Operators</strong></li><li><strong>Comparison Operators</strong></li><li><strong>Logical Operators</strong></li><li><strong>Assignment Operators</strong></li><li><strong>Bitwise Operators</strong></li><li><strong>Identity Operators</strong></li><li><strong>Membership Operators</strong></li><li>Ternary Operator</li></ul><h3>Arithmetic Operators</h3><p>Used for basic math operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*hR_Az9YNbQPe2Mbluv-kcQ.png" /></figure><h4>Example</h4><pre>a = 15<br>b = 4<br><br>print(a + b)   # 19<br>print(a - b)   # 11<br>print(a * b)   # 60<br>print(a / b)   # 3.75<br>print(a % b)   # 3<br>print(a ** b)  # 50625<br>print(a // b)  # 3</pre><h3>Comparison (Relational) Operators</h3><p>Used to compare two values. They always return True or False.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*TQp3DzdGGEoJYvtAI8Kv-Q.png" /></figure><h4>Example</h4><pre>x = 10<br>y = 20<br><br>print(x == y)  # False<br>print(x != y)  # True<br>print(x &gt; y)   # False<br>print(x &lt; y)   # True<br>print(x &gt;= 10) # True<br>print(y &lt;= 15) # False</pre><h3>Logical Operators</h3><p>Used to combine multiple conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*JveOHzdRP_aZcpQq0C4bow.png" /></figure><pre>a = True<br>b = False<br><br>print(a and b)  # False<br>print(a or b)   # True<br>print(not a)    # False</pre><h3>Assignment Operators</h3><p>Used to assign values to variables and update them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*c4uemhI7J63u-r95YRJSZQ.png" /></figure><h4>Example</h4><pre>x = 5<br>x += 3   # 8<br>x *= 2   # 16<br>x -= 6   # 10<br>print(x)</pre><h3>Bitwise Operators</h3><p>Operate on binary representations of integers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*XZRdCS691VvEbgTX82bLOQ.png" /></figure><pre>a = 6   # 110<br>b = 3   # 011<br><br>print(a &amp; b)  # 2 (010)<br>print(a | b)  # 7 (111)<br>print(a ^ b)  # 5 (101)<br>print(~a)     # -7<br>print(a &lt;&lt; 1) # 12 (1100)<br>print(a &gt;&gt; 1) # 3  (011)</pre><h3>Identity Operators</h3><p>Used to compare memory locations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*MIaGp1xi-fe_MphfDyScoQ.png" /></figure><pre>x = [1, 2, 3]<br>y = x<br>z = [1, 2, 3]<br><br>print(x is y)   # True<br>print(x is z)   # False<br>print(x is not z)  # True</pre><h3>Membership Operators</h3><p>Used to check if a value exists in a sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*IbwpmzV1J2YoXgBORTXyNg.png" /></figure><pre>fruits = [&quot;apple&quot;, &quot;banana&quot;, &quot;mango&quot;]<br><br>print(&quot;apple&quot; in fruits)      # True<br>print(&quot;grape&quot; not in fruits)  # True</pre><h3>Ternary Operator (Conditional Expression)</h3><p>A shorthand way to write if-else in one line.</p><p>Example</p><pre>age = 18<br>status = &quot;Adult&quot; if age &gt;= 18 else &quot;Minor&quot;<br>print(status)  # Adult</pre><h3>Operator Precedence (Order of Execution)</h3><p>Python follows PEMDAS/BODMAS rules.</p><p>Example</p><pre>result = 10 + 2 * 3<br>print(result)   # 16</pre><h3>Conclusion</h3><p>Operators are essential in Python for performing calculations, comparing values, controlling logic, and manipulating data. Learning them helps you write efficient and powerful programs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2683e0053d2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>