<?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: Amina </title>
    <description>The latest articles on DEV Community by Amina  (@amina1).</description>
    <link>https://dev.to/amina1</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%2F3956128%2Fab8c769a-2ce2-4374-a409-d4a42f081975.png</url>
      <title>DEV Community: Amina </title>
      <link>https://dev.to/amina1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amina1"/>
    <language>en</language>
    <item>
      <title>Python Day Six : Python Lesson</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Mon, 01 Jun 2026 19:22:37 +0000</pubDate>
      <link>https://dev.to/amina1/python-day-six-python-lesson-546a</link>
      <guid>https://dev.to/amina1/python-day-six-python-lesson-546a</guid>
      <description>&lt;h1&gt;
  
  
  Day Day Six Lesson : Python Casting
&lt;/h1&gt;

&lt;p&gt;Casting is the process of converting a value from one data type to another.&lt;br&gt;
Python provides built-in functions for casting:&lt;/p&gt;

&lt;p&gt;int() → Converts a value to an integer (whole number)&lt;br&gt;
float() → Converts a value to a float (decimal number)&lt;br&gt;
str() → Converts a value to a string (text)&lt;/p&gt;
&lt;h1&gt;
  
  
  Integers,
&lt;/h1&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;
&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# x will be 1
&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;2.8&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# y will be 2
&lt;/span&gt;&lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;3&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# z will be 3
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;int(1) → The number 1 is already an integer, so it remains 1.&lt;/li&gt;
&lt;li&gt;int(2.8) → Converts 2.8 to the integer 2 by removing the decimal part.&lt;/li&gt;
&lt;li&gt;int("3") → Converts the text "3" into the integer 3.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="mi"&gt;2&lt;/span&gt;
&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Float Casting
&lt;/h1&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;      &lt;span class="c1"&gt;# x will be 1.0
&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;2.8&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;    &lt;span class="c1"&gt;# y will be 2.8
&lt;/span&gt;&lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;3&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;    &lt;span class="c1"&gt;# z will be 3.0
&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;4.2&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# w will be 4.2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;float(1) → Converts 1 to 1.0&lt;/li&gt;
&lt;li&gt;float(2.8) → Remains 2.8&lt;/li&gt;
&lt;li&gt;float("3") → Converts the string "3" to 3.0&lt;/li&gt;
&lt;li&gt;float("4.2") → Converts the string "4.2" to 4.2&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="mf"&gt;1.0&lt;/span&gt;
&lt;span class="mf"&gt;2.8&lt;/span&gt;
&lt;span class="mf"&gt;3.0&lt;/span&gt;
&lt;span class="mf"&gt;4.2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  String Casting
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;s1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# x will be 's1'
&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;      &lt;span class="c1"&gt;# y will be '2'
&lt;/span&gt;&lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;3.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;    &lt;span class="c1"&gt;# z will be '3.0'
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;str("s1") → Remains "s1" because it is already a string.&lt;/li&gt;
&lt;li&gt;str(2) → Converts the number 2 into the text "2".&lt;/li&gt;
&lt;li&gt;str(3.0) → Converts the decimal number 3.0 into the text "3.0".&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;s1&lt;/span&gt;
&lt;span class="mi"&gt;2&lt;/span&gt;
&lt;span class="mf"&gt;3.0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Casting is a basic but powerful Python skill. By learning how to convert data types, you can handle user input, perform calculations, and build better programs. Keep practicing—every lesson brings you closer to becoming a confident programmer! 💻🐍&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Day Five : python learning</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Mon, 01 Jun 2026 18:53:22 +0000</pubDate>
      <link>https://dev.to/amina1/python-day-five-python-learning-15cd</link>
      <guid>https://dev.to/amina1/python-day-five-python-learning-15cd</guid>
      <description>&lt;h1&gt;
  
  
  Day Five LESSON : Data Types in Python
&lt;/h1&gt;

&lt;p&gt;A data type tells Python what kind of value a variable stores. Different data types are used for different purposes.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;x = 5 stores the number 5 in the variable x.&lt;/li&gt;
&lt;li&gt;type(x) checks the data type of x.&lt;/li&gt;
&lt;li&gt;Since 5 is a whole number, its data type is int (integer).&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="nc"&gt;int&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;&amp;gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Understanding data types is important because every Python program works with different kinds of data. The more you practice using data types, the easier it becomes to build powerful programs. Keep learning and growing your coding skills! 🐍💻&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Day Four : Simple and practical 🤔</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Mon, 01 Jun 2026 18:37:05 +0000</pubDate>
      <link>https://dev.to/amina1/python-day-four-simple-and-practical-36h7</link>
      <guid>https://dev.to/amina1/python-day-four-simple-and-practical-36h7</guid>
      <description>&lt;h1&gt;
  
  
  Day Four lesson : Variables in Python
&lt;/h1&gt;

&lt;p&gt;Variables are used to store data that can be used later in a program.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Musa&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;X = "Musa" stores the name Musa in variable X.&lt;/li&gt;
&lt;li&gt;Y = 20 stores the number 20 in variable Y.&lt;/li&gt;
&lt;li&gt;print(X) displays the value of X.&lt;/li&gt;
&lt;li&gt;print(Y) displays the value of Y.
Output:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;Musa&lt;/span&gt;
&lt;span class="mi"&gt;20&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  String Variable in Python
&lt;/h1&gt;

&lt;p&gt;A string variable stores text or words. Text must be written inside quotation marks (" ").&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Musa&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;name is the variable.&lt;/li&gt;
&lt;li&gt;"Musa" is the text stored in the variable.&lt;/li&gt;
&lt;li&gt;print(name) displays the stored text.
Output:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;Musa&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Integer Variable in Python
&lt;/h1&gt;

&lt;p&gt;An integer variable stores whole numbers (numbers without decimal points).&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;birthday&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2025&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;birthday&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;birthday is the variable name.&lt;/li&gt;
&lt;li&gt;2025 is a whole number (integer).&lt;/li&gt;
&lt;li&gt;print(birthday) displays the value stored in the variable.
Output:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="mi"&gt;2025&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Variables are the building blocks of programming. By learning how to store and use data, you are taking an important step toward creating real applications. Keep practicing and trust the learning process! 💻🐍&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Day Three : Focus &amp; consistency</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Mon, 01 Jun 2026 18:11:48 +0000</pubDate>
      <link>https://dev.to/amina1/python-day-three-focus-consistency-5dgk</link>
      <guid>https://dev.to/amina1/python-day-three-focus-consistency-5dgk</guid>
      <description>&lt;h1&gt;
  
  
  Day Three lesson : Comments in Python
&lt;/h1&gt;

&lt;p&gt;Comments are notes written in code to explain what the code does. Python ignores comments when running the program.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#This is a comment
&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, Pure Pearl Foundation&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, Pure Pearl Foundation&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#This is also a comment
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This is a comment → A comment on its own line.&lt;/li&gt;
&lt;li&gt;This is also a comment → A comment at the end of a line of code.&lt;/li&gt;
&lt;li&gt;Python runs the print() statements but ignores the comments.
output:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hello, Pure Pearl Foundation
Hello, Pure Pearl Foundation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Comments help make code easier to understand, explain code to others, and can be used to temporarily disable code during testing.&lt;/p&gt;

&lt;p&gt;Good programmers don't just write code they write clear code. Using comments helps you stay organized and makes your programs easier to understand in the future. Keep practicing! 💻🐍&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Day Two : The Start of Real Coding</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Sat, 30 May 2026 08:23:33 +0000</pubDate>
      <link>https://dev.to/amina1/python-day-two-the-start-of-real-coding-4j9c</link>
      <guid>https://dev.to/amina1/python-day-two-the-start-of-real-coding-4j9c</guid>
      <description>&lt;h1&gt;
  
  
  Python Day Two : Python Output &amp;amp; Print
&lt;/h1&gt;

&lt;p&gt;print() is a Python🐍 command used to show something on the screen.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Pure Pearl Foundation&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;print → tells Python to display output&lt;/li&gt;
&lt;li&gt;"Pure Pearl Foundation" → the text to show on the screen&lt;/li&gt;
&lt;li&gt;Text must be inside quotation marks " "&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;Pure&lt;/span&gt; &lt;span class="n"&gt;Pearl&lt;/span&gt; &lt;span class="n"&gt;Foundation&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Print Number
&lt;/h1&gt;

&lt;p&gt;print() can also display numbers in Python.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;90&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Numbers are written without quotation marks.&lt;/li&gt;
&lt;li&gt;Python treats them as real numbers, not text.&lt;/li&gt;
&lt;li&gt;Each print() shows the number on a new line.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;70
80
90
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Calculation
&lt;/h1&gt;

&lt;p&gt;You can do calculations directly inside print() in Python.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;+ means addition&lt;/li&gt;
&lt;li&gt;- means subtraction&lt;/li&gt;
&lt;li&gt;/ means division&lt;/li&gt;
&lt;li&gt;* means multiplication&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="mf"&gt;10.0&lt;/span&gt;
&lt;span class="mi"&gt;25&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  combine text and numbers
&lt;/h1&gt;

&lt;p&gt;You can combine text and numbers in one print() statement by separating them with commas.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Pure Pearl Foundation has&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Student Volunteers&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explanation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Pure Pearl Foundation has" → text&lt;/li&gt;
&lt;li&gt;15 → number&lt;/li&gt;
&lt;li&gt;"Student Volunteers" → text&lt;/li&gt;
&lt;li&gt;Commas , join them together in one output.
Output:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;Pure&lt;/span&gt; &lt;span class="n"&gt;Pearl&lt;/span&gt; &lt;span class="n"&gt;Foundation&lt;/span&gt; &lt;span class="n"&gt;has&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt; &lt;span class="n"&gt;Student&lt;/span&gt; &lt;span class="n"&gt;Volunteers&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every expert programmer started as a beginner. Keep practicing, stay consistent, and trust the learning process. Small steps lead to big success. 🚀💻&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Learn Python 🐍With Me!(Tips To Gain Coding With No Stress)</title>
      <dc:creator>Amina </dc:creator>
      <pubDate>Thu, 28 May 2026 13:32:43 +0000</pubDate>
      <link>https://dev.to/amina1/learn-python-with-metips-to-gain-coding-with-no-stress-4pmh</link>
      <guid>https://dev.to/amina1/learn-python-with-metips-to-gain-coding-with-no-stress-4pmh</guid>
      <description>&lt;h1&gt;
  
  
  Python🐍: Day One-Easy, Fun, Powerful, And You Can Absolutely Do It.
&lt;/h1&gt;

&lt;p&gt;Hello everyone!👋 Welcome to Day 1 My Python Journey🚍. Let Start,&lt;br&gt;
You don’t need to be a genius✨. You don’t need any experience. You just need to take the first small step👣. Every expert was once a beginner who didn’t give up🌱➡️🌲. 🌟Today is your day to start, and I’ll be right here with you🤝.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is Python🐍?🤔
&lt;/h1&gt;

&lt;p&gt;Python is a super-friendly, popular programming language.&lt;br&gt;
It was created by Guido van Rossum and released in 1991, and today, it’s one of the most loved languages on the planet!&lt;/p&gt;

&lt;h1&gt;
  
  
  Where is Python🐍 used?
&lt;/h1&gt;

&lt;p&gt;🌐 Building websites (the behind-the-scenes magic)&lt;br&gt;
🛠️ Creating software and tools&lt;br&gt;
📐 Solving math problems&lt;br&gt;
🤖 Automating boring, repetitive tasks&lt;/p&gt;

&lt;h1&gt;
  
  
  What can Python🐍 actually do? (A lot more than you think!)
&lt;/h1&gt;

&lt;p&gt;Run on a server to power real websites and apps&lt;br&gt;
Work with other software to get jobs done automatically&lt;br&gt;
Talk to databases (where all the important information lives)&lt;/p&gt;

&lt;h1&gt;
  
  
  Trick Magic🎇😚💃: print() Fuction🎇
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#printing text
&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, Pure Pearl Foundation&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;#printing numbers
&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;45&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;#output 45
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let’s look at our very first piece of Python code.&lt;br&gt;
It’s tiny. It’s simple. But it’s the start of something amazing.&lt;br&gt;
🗣️ Spoken Summary for Beginners &lt;br&gt;
That one line of code - print("Hello, Pure Pearl Foundation") is Python’s way of talking.&lt;br&gt;
You don’t need to understand everything yet. Just remember:&lt;/p&gt;

&lt;p&gt;print = speak&lt;/p&gt;

&lt;p&gt;( ) = hold what you say&lt;/p&gt;

&lt;p&gt;" " = exact words&lt;/p&gt;

&lt;p&gt;And the message is whatever you want to share.&lt;br&gt;
This is your first conversation with Python. And Python is listening."&lt;/p&gt;

&lt;p&gt;You showed up. You wrote your first line of code. That’s everything.&lt;br&gt;
Today, you didn't just learn about Python.&lt;br&gt;
You proved something to yourself:&lt;br&gt;
👉 You can do hard things.&lt;br&gt;
👉 You don't need to know everything to start.&lt;br&gt;
👉 Every expert began exactly where you are right now.&lt;br&gt;
That tiny print("Hello, Pure Pearl Foundation")?&lt;br&gt;
That was not just code.&lt;br&gt;
That was you saying "I'm in" to a new skill, a new future, a new you.&lt;/p&gt;

&lt;p&gt;I don't have to be perfect. I just have to keep going. One small step each day. Python 🐍is patient. And so am I.&lt;/p&gt;

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