<?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: A.Fatima</title>
    <description>The latest articles on DEV Community by A.Fatima (@learnwithaf).</description>
    <link>https://dev.to/learnwithaf</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%2F3570091%2F15b9db80-1fa9-4f55-8a76-3c869aece25d.jpeg</url>
      <title>DEV Community: A.Fatima</title>
      <link>https://dev.to/learnwithaf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/learnwithaf"/>
    <language>en</language>
    <item>
      <title>Understanding Variables &amp; Data Types</title>
      <dc:creator>A.Fatima</dc:creator>
      <pubDate>Sun, 19 Oct 2025 07:00:32 +0000</pubDate>
      <link>https://dev.to/learnwithaf/understanding-variables-data-types-3od2</link>
      <guid>https://dev.to/learnwithaf/understanding-variables-data-types-3od2</guid>
      <description>&lt;h2&gt;
  
  
  The Building Blocks of Python
&lt;/h2&gt;

&lt;p&gt;Imagine you just moved into a new home.&lt;br&gt;
You start labeling things — “This is my kitchen,” “This is my room,” “This is my study desk.”&lt;br&gt;
Now, whenever you need something, you know exactly where to find it.&lt;/p&gt;

&lt;p&gt;That’s exactly what variables do in Python!&lt;br&gt;
They act like labels or containers where we store our data.&lt;br&gt;
When Python sees a variable, it knows where to find or store that information.&lt;/p&gt;
&lt;h2&gt;
  
  
  For example:
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name = "Fatima"
age = 37
is_student = True
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Here,&lt;/p&gt;

&lt;p&gt;name is a box containing text (called a string)&lt;/p&gt;

&lt;p&gt;age is a box containing a number (called an integer)&lt;/p&gt;

&lt;p&gt;is_student is a box that holds a True/False value (called a boolean)&lt;/p&gt;

&lt;p&gt;So simple, right? Python does the heavy lifting — you just label your data smartly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But Wait…&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  What Are Data Types?
&lt;/h3&gt;

&lt;p&gt;Think of data types as the nature of the thing inside the box.&lt;/p&gt;

&lt;p&gt;If your “box” has:&lt;/p&gt;

&lt;p&gt;🍎 Fruits → that’s like string data ("Apple", "Mango")&lt;/p&gt;

&lt;p&gt;🔢 Numbers → that’s int or float&lt;/p&gt;

&lt;p&gt;✅ True/False answers → that’s boolean&lt;/p&gt;

&lt;p&gt;📦 Collections of many items → that’s list, tuple, or dictionary&lt;/p&gt;

&lt;p&gt;Python automatically understands the type of data you store — just like how you know what’s inside a box by reading its label.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;If variables are the memory of your program,&lt;br&gt;
then data types are the language your program uses to understand that memory.&lt;/p&gt;

&lt;p&gt;Without them, Python wouldn’t know how to perform actions like adding numbers or joining words.&lt;/p&gt;
&lt;h2&gt;
  
  
  Real-Life Analogy
&lt;/h2&gt;

&lt;p&gt;Imagine ordering online:&lt;/p&gt;

&lt;p&gt;Your name is a string&lt;/p&gt;

&lt;p&gt;Your age (for verification) is an integer&lt;/p&gt;

&lt;p&gt;The order status (“Delivered” or “Pending”) is a boolean&lt;/p&gt;

&lt;p&gt;Your cart items are stored in a list&lt;/p&gt;

&lt;p&gt;Python handles all this just like a delivery system — perfectly organizing data into types it understands.&lt;/p&gt;
&lt;h2&gt;
  
  
  Your Turn
&lt;/h2&gt;

&lt;p&gt;Try this now 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;city = "Lahore"
temperature = 26.5
is_raining = False
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, print each one and guess its data type!&lt;br&gt;
(We’ll soon learn how to check it in Python.)&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s Next?
&lt;/h2&gt;

&lt;p&gt;In the next post, we’ll talk about Operators in Python —&lt;br&gt;
how to make your data think, compare, and decide!&lt;/p&gt;

&lt;p&gt;Stay tuned 💻&lt;br&gt;
Follow this Python series step by step and build your programming confidence &lt;/p&gt;

</description>
      <category>python</category>
      <category>tutorial</category>
      <category>variables</category>
      <category>datatypes</category>
    </item>
    <item>
      <title>Learn Python Step by Step – Part 1: Introduction to Python</title>
      <dc:creator>A.Fatima</dc:creator>
      <pubDate>Sat, 18 Oct 2025 01:32:56 +0000</pubDate>
      <link>https://dev.to/learnwithaf/learn-python-step-by-step-part-1-introduction-to-python-2jfa</link>
      <guid>https://dev.to/learnwithaf/learn-python-step-by-step-part-1-introduction-to-python-2jfa</guid>
      <description>&lt;p&gt;Have you ever opened a Python tutorial and felt like you’re reading some secret code language?&lt;br&gt;
Don’t worry — you’re not alone!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Har expert programmer ne yahi se start kiya tha — with a simple line&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print("Hello, World!")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But learning Python is not just about typing code — it’s about learning how to think like a programmer.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Yaani Python seekhna sirf code likhna nahi, balkeh sochna seekhna hai — jaise computer sochta hai.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Python?
&lt;/h2&gt;

&lt;p&gt;Python is a high-level, easy, and powerful programming language — famous for its simplicity and readability.&lt;/p&gt;

&lt;p&gt;It’s beginner-friendly yet powerful enough for professionals.&lt;br&gt;
That’s why it’s used everywhere — from simple automation to Artificial Intelligence!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Python aik aisi language hai jo beginners k liye asaan aur experts k liye powerful hai — isi liye har jagah use hoti hai.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features of Python
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;1. Easy to read and write (like English)&lt;/li&gt;
&lt;li&gt;2. Open source &amp;amp; free&lt;/li&gt;
&lt;li&gt;3. Huge community support&lt;/li&gt;
&lt;li&gt;4. Portable (works on Windows, macOS, Linux)&lt;/li&gt;
&lt;li&gt;5. Used for AI, Data Science, Web, and more&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Python har operating system par chalta hai aur har field me use hota hai — chahe AI ho, data analysis ya web development.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where is Python Used?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🤖 Artificial Intelligence &amp;amp; Machine Learning&lt;/li&gt;
&lt;li&gt;📊 Data Science &amp;amp; Visualization&lt;/li&gt;
&lt;li&gt;🌐 Web Development (Django, Flask)&lt;/li&gt;
&lt;li&gt;🧠 Deep Learning (TensorFlow, PyTorch)&lt;/li&gt;
&lt;li&gt;⚙️ Automation &amp;amp; Scripting
_(Yaani jahan bhi “smart work” ya “data” involve hota hai — wahan Python hota hai!)
_&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Your First Python Program
&lt;/h2&gt;

&lt;p&gt;Let’s write our first line of Python code:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print("Hello, Python Learner!")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hello, Python Learner!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(🖥️ Ye code screen par text show karta hai — yani humne computer se kaha ke “ye sentence print karo”.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Learn Python?
&lt;/h2&gt;

&lt;p&gt;Because Python helps you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learn logic in an easy way&lt;/li&gt;
&lt;li&gt;Build powerful applications&lt;/li&gt;
&lt;li&gt;Enter AI and Data fields confidently&lt;/li&gt;
&lt;li&gt;Develop a problem-solving mindset&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Python seekhne se aap technology ke har field me entry le sakti ho — aur real-world projects bana sakti ho.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s Next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the next post, we’ll learn about Variables and Data Types —&lt;br&gt;
the real building blocks of every Python program.&lt;/p&gt;

&lt;p&gt;Follow this series to learn Python step by step.&lt;/p&gt;

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