<?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: Vishakha Chaudhry</title>
    <description>The latest articles on DEV Community by Vishakha Chaudhry (@vishakha_chaudhry_cf0857f).</description>
    <link>https://dev.to/vishakha_chaudhry_cf0857f</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%2F3057999%2F66cb947d-ac72-45e1-9a73-9c6420db279d.jpg</url>
      <title>DEV Community: Vishakha Chaudhry</title>
      <link>https://dev.to/vishakha_chaudhry_cf0857f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vishakha_chaudhry_cf0857f"/>
    <language>en</language>
    <item>
      <title>Mastering Logical Operators in Python: AND, OR, NOT Explained with Examples</title>
      <dc:creator>Vishakha Chaudhry</dc:creator>
      <pubDate>Wed, 23 Apr 2025 07:26:05 +0000</pubDate>
      <link>https://dev.to/vishakha_chaudhry_cf0857f/mastering-logical-operators-in-python-and-or-not-explained-with-examples-4h2k</link>
      <guid>https://dev.to/vishakha_chaudhry_cf0857f/mastering-logical-operators-in-python-and-or-not-explained-with-examples-4h2k</guid>
      <description>&lt;p&gt;&lt;a href="https://www.almabetter.com/bytes/articles/logical-operators-in-python" rel="noopener noreferrer"&gt;Understanding Logical Operators in Python&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Logical operators are essential in Python for combining conditional statements and making decisions in your programs. The three main logical operators are and, or, and not.&lt;/p&gt;

&lt;p&gt;The and operator returns True if both conditions are true.&lt;/p&gt;

&lt;p&gt;The or operator returns True if at least one condition is true.&lt;/p&gt;

&lt;p&gt;The not operator inverts the Boolean result — True becomes False, and vice versa.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;python&lt;br&gt;
Copy&lt;br&gt;
Edit&lt;br&gt;
x = 10&lt;br&gt;
y = 5&lt;/p&gt;

&lt;p&gt;print(x &amp;gt; 5 and y &amp;lt; 10)  # True&lt;br&gt;
print(x &amp;gt; 5 or y &amp;gt; 10)   # True&lt;br&gt;
print(not(x == y))       # True&lt;br&gt;
These Logical Operators in Python are powerful tools for creating more complex conditions in your programs, such as checking multiple inputs or making decisions based on several factors.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Write a Leap Year Program in Python: A Beginner-Friendly Guide</title>
      <dc:creator>Vishakha Chaudhry</dc:creator>
      <pubDate>Mon, 21 Apr 2025 17:30:45 +0000</pubDate>
      <link>https://dev.to/vishakha_chaudhry_cf0857f/how-to-write-a-leap-year-program-in-python-a-beginner-friendly-guide-215n</link>
      <guid>https://dev.to/vishakha_chaudhry_cf0857f/how-to-write-a-leap-year-program-in-python-a-beginner-friendly-guide-215n</guid>
      <description>&lt;p&gt;Learning Python? Writing small logic-based programs is a great way to sharpen your skills—and checking for leap years is a perfect place to start.&lt;/p&gt;

&lt;p&gt;A leap year occurs every 4 years, except for years divisible by 100—unless they’re also divisible by 400. Sounds tricky? Not when you break it down in code.&lt;/p&gt;

&lt;p&gt;Using if, elif, and else statements, you can check these conditions easily. For example, if a year is divisible by 4 but not by 100, or it's divisible by 400, it qualifies as a leap year.&lt;/p&gt;

&lt;p&gt;Start with a simple input statement to get the year, then apply your conditions. Print out whether the year is a leap year or not.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.almabetter.com/bytes/articles/leap-year-program-in-python" rel="noopener noreferrer"&gt;Leap Year Program in Python&lt;/a&gt; is a classic beginner project that teaches logical thinking and proper use of conditional statements.&lt;/p&gt;

&lt;p&gt;Practice it, tweak it, and try making it part of a calendar app or date validator!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Print "Hello, World!" in Python</title>
      <dc:creator>Vishakha Chaudhry</dc:creator>
      <pubDate>Thu, 17 Apr 2025 06:49:56 +0000</pubDate>
      <link>https://dev.to/vishakha_chaudhry_cf0857f/how-to-print-hello-world-in-python-2edm</link>
      <guid>https://dev.to/vishakha_chaudhry_cf0857f/how-to-print-hello-world-in-python-2edm</guid>
      <description>&lt;p&gt;If you're just starting your programming journey, printing "Hello, World!" is often your first step—and for good reason. It’s a simple way to get familiar with the syntax of a programming language. In Python, printing this classic phrase is incredibly straightforward.&lt;/p&gt;

&lt;p&gt;Step-by-Step: Printing "Hello, World!" in Python&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open a Python Environment
You can run Python code in several ways:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A terminal or command prompt (if Python is installed)&lt;/p&gt;

&lt;p&gt;An online editor like Replit or Google Colab&lt;/p&gt;

&lt;p&gt;A code editor like VS Code or PyCharm&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write the Code
Here’s the entire code to print “Hello, World!”:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;python&lt;br&gt;
Copy&lt;br&gt;
Edit&lt;br&gt;
print("Hello, World!")&lt;br&gt;
That’s it! The print() function tells Python to display the message inside the quotation marks.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run the Code
In a terminal: save your file as hello.py, then run it with python hello.py.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In an online editor: just press the “Run” button.&lt;/p&gt;

&lt;p&gt;You should see:&lt;/p&gt;

&lt;p&gt;Copy&lt;br&gt;
Edit&lt;br&gt;
Hello, World!&lt;br&gt;
Why This Matters&lt;br&gt;
This small line introduces you to key programming concepts:&lt;/p&gt;

&lt;p&gt;Syntax: Understanding how to write valid code.&lt;/p&gt;

&lt;p&gt;Functions: print() is a built-in function in Python.&lt;/p&gt;

&lt;p&gt;Strings: The text inside quotes is called a string.&lt;/p&gt;

&lt;p&gt;Starting with “Hello, World!” may seem simple, but it’s the first building block toward writing more complex programs. As you move forward, you’ll learn how to take input, perform calculations, and even build apps.&lt;br&gt;
&lt;a href="https://www.almabetter.com/bytes/articles/print-hello-world-in-python" rel="noopener noreferrer"&gt;&lt;br&gt;
Learn more &lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
