<?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: Shahanaz </title>
    <description>The latest articles on DEV Community by Shahanaz  (@shahanaz-cse).</description>
    <link>https://dev.to/shahanaz-cse</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%2F4147845%2Fd0a9b22b-59cb-420b-b03b-e9dc8ee9f730.png</url>
      <title>DEV Community: Shahanaz </title>
      <link>https://dev.to/shahanaz-cse</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shahanaz-cse"/>
    <language>en</language>
    <item>
      <title>Python Logic for Absolute Beginners: Clearing the Confusion</title>
      <dc:creator>Shahanaz </dc:creator>
      <pubDate>Mon, 28 Sep 2026 18:41:15 +0000</pubDate>
      <link>https://dev.to/shahanaz-cse/python-logic-for-absolute-beginners-clearing-the-confusion-2i83</link>
      <guid>https://dev.to/shahanaz-cse/python-logic-for-absolute-beginners-clearing-the-confusion-2i83</guid>
      <description>&lt;p&gt;Hi everyone! I am a first-year CSE student at P.A. College of Engineering, Mangalore. Coming from a non-CS background, these are the exact core concepts that helped me understand Python_&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;_ logic this week.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Taking Inputs from Users&lt;br&gt;
To make a program interactive, we use the input() function.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For Text: name = input("Enter your name: ")&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For Numbers: age = int(input("Enter your age: "))&lt;br&gt;
Key Note: We add int() around the input to tell Python to treat the text as a whole number!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Showing Information&lt;br&gt;
We use the print() function to display output on the screen.&lt;br&gt;
Example: print("Hello", name)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Golden Rule of Operators&lt;br&gt;
This is where most beginners make bugs!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Single Equals (=): Used to GIVE a value. (e.g., age = 18 means age is now 18).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Double Equals (==): Used to CHECK a value. (e.g., age == 18 checks if age equals 18).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Not Equal To (!=): Used to check if values do not match. (e.g., age != 18).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Alignment Matters (Indentation)&lt;br&gt;
In Python, structural alignment is everything. Your "if", "elif", and "else" code blocks must always be aligned perfectly at the exact same level, or your script will crash!&lt;/p&gt;


&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
