<?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: Bhartiprof</title>
    <description>The latest articles on DEV Community by Bhartiprof (@bhartiinsan).</description>
    <link>https://dev.to/bhartiinsan</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%2F3761725%2F3931b310-04a7-49aa-be64-ea3609b97507.png</url>
      <title>DEV Community: Bhartiprof</title>
      <link>https://dev.to/bhartiinsan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhartiinsan"/>
    <language>en</language>
    <item>
      <title>pythoonzie DAY 11 !</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Mon, 16 Mar 2026 14:10:50 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-11--1opa</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-11--1opa</guid>
      <description>&lt;p&gt;🎥 &lt;strong&gt;Python Learning Vlog – String Handling Basics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Today I explored one of the most important topics in Python: &lt;strong&gt;String Handling&lt;/strong&gt;. Strings are everywhere in programming because they help us store and manipulate text such as names, messages, and sentences.&lt;/p&gt;

&lt;p&gt;First, I learned that in Python a &lt;strong&gt;string is a sequence of immutable Unicode characters&lt;/strong&gt;. This means a string is made up of many small units called &lt;strong&gt;characters&lt;/strong&gt;, and once a string is created its characters cannot be changed directly.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;character&lt;/strong&gt; is the smallest unit of a program. Characters can be alphabets, numbers, symbols, or even emojis. Multiple characters combine to form &lt;strong&gt;words&lt;/strong&gt;, and words combine to form meaningful &lt;strong&gt;program text&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Then I explored how computers represent characters internally using &lt;strong&gt;encoding systems&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Originally computers used &lt;strong&gt;ASCII (American Standard Code for Information Interchange)&lt;/strong&gt;, which supported only 128 characters. Later &lt;strong&gt;Latin encoding&lt;/strong&gt; expanded this to 256 characters for European languages. But these systems were still limited.&lt;/p&gt;

&lt;p&gt;To solve this problem, &lt;strong&gt;Unicode&lt;/strong&gt; was introduced in 1991. Unicode is a universal character system that supports characters from almost every language in the world. Python uses Unicode to represent characters, which is why we can print characters from many languages.&lt;/p&gt;

&lt;p&gt;For example, Python can display Unicode characters like this:&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="se"&gt;\u0915&lt;/span&gt;&lt;span class="sh"&gt;"&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="sh"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\u03B8&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;These codes represent characters from different languages.&lt;/p&gt;

&lt;p&gt;Next, I practiced &lt;strong&gt;string immutability&lt;/strong&gt;. When a string value changes, Python does not modify the existing string. Instead, it creates a new string in memory.&lt;/p&gt;

&lt;p&gt;I also learned about &lt;strong&gt;string concatenation&lt;/strong&gt;, which means joining strings together:&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;first&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;virat&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;last&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;kohli&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;last&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;Here, Python combines the first and last name into a new string.&lt;/p&gt;

&lt;p&gt;Another interesting concept is &lt;strong&gt;string replication&lt;/strong&gt;, where a string is repeated multiple times:&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;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;hello&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;s&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This prints the word "hello" six times.&lt;/p&gt;

&lt;p&gt;I also discovered that &lt;strong&gt;strings are iterable&lt;/strong&gt;, which means we can access each character one by one using a loop:&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;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;python&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;s&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;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, I learned how to count characters in a string using the &lt;strong&gt;len() function&lt;/strong&gt;:&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;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;python&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="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This tells us how many characters are present in the string.&lt;/p&gt;

&lt;p&gt;Overall, today’s learning helped me understand how Python stores text, how characters are represented, and how strings can be manipulated using operations like concatenation, replication, iteration, and length calculation.&lt;/p&gt;

&lt;p&gt;Learning strings feels like unlocking the language of programming itself. Looking forward to exploring more Python concepts in the next coding vlog! 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day11 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>machinelearning</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Pythoonzie DAY 10!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Wed, 11 Mar 2026 18:06:06 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-10-4dej</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-10-4dej</guid>
      <description>&lt;p&gt;🎥 &lt;strong&gt;My Python Learning Vlog3 – Exploring Loops &amp;amp; Pattern Printing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Today I practiced Python loops and pattern printing, and it felt like recording my own little coding vlog. While learning programming, small experiments like these really help in building logic step by step.&lt;/p&gt;

&lt;p&gt;I started with simple loops and learned how Python repeats tasks automatically using &lt;code&gt;for&lt;/code&gt; and &lt;code&gt;while&lt;/code&gt;. Loops are very powerful because they allow us to execute the same instruction multiple times without writing the code again and again.&lt;/p&gt;

&lt;p&gt;After practicing basic loops, I moved to something more interesting — &lt;strong&gt;pattern printing using nested loops&lt;/strong&gt;. Pattern questions are very useful for improving logical thinking because they teach us how loops interact with each other.&lt;/p&gt;

&lt;p&gt;Here is the Python code I used to print a number pattern:&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="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;6&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="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&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="n"&gt;i&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;j&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;end&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;""&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When this code runs, Python uses two loops. The outer loop controls how many rows will be printed, while the inner loop controls the numbers printed in each row.&lt;/p&gt;

&lt;p&gt;The output looks like this:&lt;/p&gt;

&lt;p&gt;12345&lt;br&gt;
1234&lt;br&gt;
123&lt;br&gt;
12&lt;br&gt;
1&lt;/p&gt;

&lt;p&gt;Each new row prints one number less than the previous row, which creates a downward pattern. Understanding how the outer loop and inner loop work together made pattern printing much clearer for me.&lt;/p&gt;

&lt;p&gt;Practicing small programs like this helps build strong programming logic. Every time I write such code, I feel more confident with Python and more excited to learn advanced concepts.&lt;/p&gt;

&lt;p&gt;That’s it for today’s coding vlog. Yeayyy, we'll learn the more topics and printing pattern tommorow. &lt;br&gt;
&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 9!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Tue, 10 Mar 2026 16:19:41 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-9-4op5</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-9-4op5</guid>
      <description>&lt;h2&gt;
  
  
  🎥 VLOG – PART 2 (Continue, Break, For Loop, Range + Bank Program)
&lt;/h2&gt;

&lt;p&gt;“Hey everyone! Today I’m explaining some important Python loop concepts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First&lt;/strong&gt; let's dive into what we learned yesterday, continue and break keywords.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;continue&lt;/strong&gt; is used to skip the current iteration and move to the next loop cycle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;break&lt;/strong&gt; is used to exit the loop completely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Both of these&lt;/strong&gt; cannot be used outside a loop and are usually written with an if condition.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;For loop&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;A for loop is used to iterate through elements of an iterable one by one, so it’s often called a for-each loop.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;The syntax is simple:&lt;/strong&gt;&lt;br&gt;
for variable in iterable: &lt;br&gt;
     execute code for each item.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You can also use for with else, where the else block runs after the loop finishes all iterations.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Now let’s compare while vs for loop:
&lt;/h2&gt;

&lt;p&gt;_&lt;strong&gt;while loop&lt;/strong&gt; is best when we don’t know the exact number of iterations and it’s condition-based.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;for loop&lt;/strong&gt; is best when we know the number of iterations and it’s iterable-based._&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Next comes the range() function, which generates a sequence of integers.&lt;br&gt;
Syntax: range(start, stop, step)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;-&lt;strong&gt;start is inclusive&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&lt;strong&gt;stop is exclusive&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&lt;strong&gt;step controls the gap&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Positive step gives a forward sequence, negative step gives a reverse sequence, and step 0 causes an error.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now let’s see a banking example using a loop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The program asks the user to choose options like withdraw, deposit, check balance, or stop.&lt;br&gt;
Using a &lt;strong&gt;while True&lt;/strong&gt; loop keeps the program running continuously until the user enters the stop code.&lt;br&gt;
Inside the loop, &lt;strong&gt;if and elif&lt;/strong&gt; conditions handle each banking operation, and when the user chooses the stop option, the break statement exits the loop and the program prints Thank you.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That’s how loops and conditions work together in a real Python program!”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>python</category>
      <category>discuss</category>
    </item>
    <item>
      <title>pythoonzie DAY 8!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Mon, 09 Mar 2026 17:26:11 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-8-1bne</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-8-1bne</guid>
      <description>&lt;h2&gt;
  
  
  UMMM, ITNI HOLI KHELNE K BAAD FIRSE SHURU KARTE HAI YEH VLOG EPISODE ONE
&lt;/h2&gt;

&lt;p&gt;SO HERE DRAMA IS ME GUYSS &lt;/p&gt;

&lt;p&gt;Hey guys! Welcome back to the vlog. Today we’re testing a Python program that behaves like an ATM machine. The rule is simple: you only get three chances to enter the correct PIN. Let’s see how the logic works behind the scenes.&lt;/p&gt;

&lt;p&gt;First, the program sets an attempt counter starting at 1. Then a &lt;strong&gt;while loop&lt;/strong&gt; begins, which means the system will keep repeating the process as long as the attempts are less than or equal to three. Every time the loop runs, the ATM asks the user to enter a PIN.&lt;/p&gt;

&lt;p&gt;Now here comes the interesting part. The program checks the PIN using an &lt;strong&gt;if condition&lt;/strong&gt;. If the entered PIN is &lt;strong&gt;1234&lt;/strong&gt;, the system prints “valid” and immediately stops the loop using the &lt;strong&gt;break keyword&lt;/strong&gt;. Think of break like an emergency exit door—it stops the loop instantly because the correct PIN has been entered.&lt;/p&gt;

&lt;p&gt;But what if the user enters the wrong PIN? The program increases the attempt counter and checks another condition. If all three attempts are finished, the system prints “max attempts completed.” That means the ATM is basically saying, “No more tries, please step away from the machine.”&lt;/p&gt;

&lt;p&gt;If the PIN is wrong but attempts are still left, the program simply prints “invalid attempt” and the loop runs again, giving the user another chance.&lt;/p&gt;

&lt;p&gt;So in this small Python story, the &lt;strong&gt;while loop controls repetition&lt;/strong&gt;, the &lt;strong&gt;if–elif–else statements check conditions&lt;/strong&gt;, the &lt;strong&gt;counter variable tracks attempts&lt;/strong&gt;, and the &lt;strong&gt;break keyword stops the loop when the goal is achieved&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And that’s the whole ATM challenge! Three attempts, one correct PIN, and Python handling everything like a smart little security guard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;ALSO I LEARNED ABOUT THE DIFFERENCE BETWEEN BREAK AND CONTINUE,&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;_- BREAK THAT SKIP A SINGLE ITERATION&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CONTINUE THAT SKIP A PROPER LOOP STATEMENT_&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>python</category>
      <category>datascience</category>
    </item>
    <item>
      <title>pythoonzie DAY 7!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Tue, 24 Feb 2026 16:38:31 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-7-4bgk</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-7-4bgk</guid>
      <description>&lt;h2&gt;
  
  
  BASICS PADHNE KE LIYE BHI RESEARCH PAPER LIKHNE PADTE HAIN:]
&lt;/h2&gt;

&lt;p&gt;🎥 &lt;strong&gt;Mastering Type Casting &amp;amp; User Input&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hey everyone! Today in my Python journey, I explored something super important — &lt;strong&gt;type casting and user input&lt;/strong&gt;. At first, I tried adding a float and a string, like &lt;code&gt;3.4 + '2.1'&lt;/code&gt;, and boom — Python threw an error. That’s when I learned Python is very strict about data types.&lt;/p&gt;

&lt;p&gt;So I discovered &lt;strong&gt;explicit type casting&lt;/strong&gt;, where we manually convert data types. For example, using &lt;code&gt;float()&lt;/code&gt; to convert a string into a float, or &lt;code&gt;int()&lt;/code&gt; to turn a numeric string into an integer. Once both values are in the same type, operations work perfectly. I also practiced converting numbers back into strings using &lt;code&gt;str()&lt;/code&gt; for concatenation.&lt;/p&gt;

&lt;p&gt;Then came an interesting part — &lt;strong&gt;float to int conversion&lt;/strong&gt;. I noticed Python doesn’t round; it simply cuts off the decimal part. That was a key learning moment. I also learned about &lt;strong&gt;implicit type casting&lt;/strong&gt;, where Python automatically converts types, like when adding an int and a float. Even booleans surprised me — &lt;code&gt;True&lt;/code&gt; behaves like &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;False&lt;/code&gt; like &lt;code&gt;0&lt;/code&gt; in calculations!&lt;/p&gt;

&lt;p&gt;Next, I worked with &lt;strong&gt;user input&lt;/strong&gt; and discovered that &lt;code&gt;input()&lt;/code&gt; always returns a string. So whenever we need numerical operations, we must convert the input using &lt;code&gt;int()&lt;/code&gt; or &lt;code&gt;float()&lt;/code&gt;. Finally, I built a small average calculator and used &lt;code&gt;round()&lt;/code&gt; to format the output to two decimal places.&lt;/p&gt;

&lt;p&gt;Overall, today’s lesson made me much more confident about handling data types in Python. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 7!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Tue, 24 Feb 2026 16:24:49 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-7-3kf2</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-7-3kf2</guid>
      <description>&lt;p&gt;🎥 &lt;strong&gt;Mastering Type Casting &amp;amp; User Input&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hey everyone! Today in my Python journey, I explored something super important — &lt;strong&gt;type casting and user input&lt;/strong&gt;. At first, I tried adding a float and a string, like &lt;code&gt;3.4 + '2.1'&lt;/code&gt;, and boom — Python threw an error. That’s when I learned Python is very strict about data types.&lt;/p&gt;

&lt;p&gt;So I discovered &lt;strong&gt;explicit type casting&lt;/strong&gt;, where we manually convert data types. For example, using &lt;code&gt;float()&lt;/code&gt; to convert a string into a float, or &lt;code&gt;int()&lt;/code&gt; to turn a numeric string into an integer. Once both values are in the same type, operations work perfectly. I also practiced converting numbers back into strings using &lt;code&gt;str()&lt;/code&gt; for concatenation.&lt;/p&gt;

&lt;p&gt;Then came an interesting part — &lt;strong&gt;float to int conversion&lt;/strong&gt;. I noticed Python doesn’t round; it simply cuts off the decimal part. That was a key learning moment. I also learned about &lt;strong&gt;implicit type casting&lt;/strong&gt;, where Python automatically converts types, like when adding an int and a float. Even booleans surprised me — &lt;code&gt;True&lt;/code&gt; behaves like &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;False&lt;/code&gt; like &lt;code&gt;0&lt;/code&gt; in calculations!&lt;/p&gt;

&lt;p&gt;Next, I worked with &lt;strong&gt;user input&lt;/strong&gt; and discovered that &lt;code&gt;input()&lt;/code&gt; always returns a string. So whenever we need numerical operations, we must convert the input using &lt;code&gt;int()&lt;/code&gt; or &lt;code&gt;float()&lt;/code&gt;. Finally, I built a small average calculator and used &lt;code&gt;round()&lt;/code&gt; to format the output to two decimal places.&lt;/p&gt;

&lt;p&gt;Overall, today’s lesson made me much more confident about handling data types in Python. Small concept — but super powerful for writing clean, error-free code. 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 6!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Sun, 22 Feb 2026 16:38:04 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-6-3e7g</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-6-3e7g</guid>
      <description>&lt;h1&gt;
  
  
  “Bitwise Operators — The Secret Binary Magic!”*
&lt;/h1&gt;

&lt;p&gt;Hey everyone! 👋&lt;br&gt;
Welcome back to the channel — today we’re diving into something that sounds scary but is actually super cool…&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bitwise Operators!&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Now I know what you’re thinking:&lt;br&gt;
“Bits? Binary? 0s and 1s? 😵‍💫”&lt;/p&gt;

&lt;p&gt;Relax… I got you.&lt;/p&gt;


&lt;h2&gt;
  
  
  🧠 So what’s the big idea?
&lt;/h2&gt;

&lt;p&gt;Computers don’t think in decimal like we do.&lt;br&gt;
They speak &lt;strong&gt;binary&lt;/strong&gt; — just &lt;strong&gt;0 and 1&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And bitwise operators?&lt;br&gt;
They’re like &lt;strong&gt;tiny tools that manipulate those bits directly&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead of doing math like:&lt;/p&gt;

&lt;p&gt;👉 5 + 3&lt;/p&gt;

&lt;p&gt;We do something like:&lt;/p&gt;

&lt;p&gt;👉 5 &amp;amp; 3&lt;/p&gt;

&lt;p&gt;Yes… math’s nerdy cousin 😎&lt;/p&gt;


&lt;h2&gt;
  
  
  🔍 Example Time!
&lt;/h2&gt;

&lt;p&gt;Take:&lt;/p&gt;

&lt;p&gt;5 → &lt;code&gt;0101&lt;/code&gt;&lt;br&gt;
3 → &lt;code&gt;0011&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  AND Operator (&lt;code&gt;&amp;amp;&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Only keeps bits where &lt;strong&gt;both are 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Result → &lt;code&gt;0001&lt;/code&gt; → &lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Think of it as:&lt;br&gt;
“Only mutual agreement allowed!” 🤝&lt;/p&gt;


&lt;h3&gt;
  
  
  OR Operator (&lt;code&gt;|&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;If &lt;strong&gt;either bit is 1&lt;/strong&gt;, result is 1&lt;/p&gt;

&lt;p&gt;Result → &lt;code&gt;0111&lt;/code&gt; → &lt;strong&gt;7&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That’s teamwork energy 💪&lt;/p&gt;


&lt;h3&gt;
  
  
  XOR Operator (&lt;code&gt;^&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Different bits win!&lt;/p&gt;

&lt;p&gt;Result → &lt;code&gt;0110&lt;/code&gt; → &lt;strong&gt;6&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Basically:&lt;br&gt;
“You’re different? You’re selected.” 😏&lt;/p&gt;


&lt;h3&gt;
  
  
  NOT Operator (&lt;code&gt;~&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Flips everything!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;~5 = -6&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Plot twist! 🎭&lt;br&gt;
Because Python uses &lt;strong&gt;2’s complement&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  ⚡ Why should you care?
&lt;/h2&gt;

&lt;p&gt;Because bitwise operators are used in:&lt;/p&gt;

&lt;p&gt;🚀 Faster calculations&lt;br&gt;
🔐 Encryption&lt;br&gt;
🎛 Hardware control&lt;br&gt;
🎯 Bit masking&lt;br&gt;
📊 NumPy / Pandas filtering&lt;/p&gt;

&lt;p&gt;They’re like &lt;strong&gt;low-level superpowers&lt;/strong&gt;.&lt;/p&gt;


&lt;h2&gt;
  
  
  🎯 Cool Trick!
&lt;/h2&gt;

&lt;p&gt;Check if a number is odd:&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;num&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If result = 1 → Odd&lt;br&gt;
If 0 → Even&lt;/p&gt;

&lt;p&gt;Quick. Clean. Elegant. ✨&lt;/p&gt;




&lt;h2&gt;
  
  
  🎬 Outro
&lt;/h2&gt;

&lt;p&gt;So yeah — bitwise operators aren’t scary…&lt;/p&gt;

&lt;p&gt;They’re just &lt;strong&gt;binary magic behind the scenes&lt;/strong&gt; 🪄&lt;/p&gt;

&lt;p&gt;If this helped you, hit 👍&lt;br&gt;
Subscribe for more “tech made easy” content!&lt;/p&gt;

&lt;p&gt;Catch you in the next one 👋😄&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 5!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Tue, 17 Feb 2026 15:59:02 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-5-1j45</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-5-1j45</guid>
      <description>&lt;p&gt;_&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Today I explored Python operators and understood how they work as the backbone of programming logic. Operators are special symbols used to perform operations on operands, which can be values, variables, or expressions. I practiced arithmetic operators like addition, subtraction, multiplication, exponent, division, floor division, and modulus. I learned the difference between true division (which gives decimal results) and floor division (which removes decimals), and how modulus returns the remainder, which is useful in real-life scenarios like grouping or hashing. I also understood operator precedence, where Python follows an order of operations similar to BODMAS, and how parentheses help control execution priority. I discovered that exponentiation follows right-to-left associativity, which was an interesting concept. Additionally, I applied operators to solve practical problems like calculating averages and expanding algebraic formulas. Overall, I gained clarity on how operators control calculations and logical flow in Python programs.&lt;/em&gt;&lt;br&gt;
_&lt;/p&gt;
&lt;h2&gt;
  
  
  🐍 Python Operators Cheat Sheet (Quick Reuse Guide)
&lt;/h2&gt;
&lt;h3&gt;
  
  
  🔹 What is an Operator?
&lt;/h3&gt;

&lt;p&gt;An operator performs an action on &lt;strong&gt;operands&lt;/strong&gt; (values, variables, expressions).&lt;/p&gt;


&lt;h1&gt;
  
  
  1️⃣ Arithmetic Operators
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;+&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Addition&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 + 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;14&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Subtraction&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 - 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;6&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;*&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Multiplication&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 * 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;40&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;True Division&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 / 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;2.5&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;//&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Floor Division&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 // 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;%&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Modulus (Remainder)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10 % 4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;2&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;**&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exponent (Power)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;2 ** 3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h1&gt;
  
  
  2️⃣ Important Rules
&lt;/h1&gt;
&lt;h3&gt;
  
  
  ✅ True Division (&lt;code&gt;/&lt;/code&gt;)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Returns decimal&lt;/li&gt;
&lt;li&gt;Used when accuracy matters&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  ✅ Floor Division (&lt;code&gt;//&lt;/code&gt;)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Removes decimal part&lt;/li&gt;
&lt;li&gt;Used when whole number required&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  ✅ Modulus (&lt;code&gt;%&lt;/code&gt;)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Returns remainder&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Even/Odd check → &lt;code&gt;num % 2&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Grouping / hashing logic&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h1&gt;
  
  
  3️⃣ Operator Precedence (Order of Execution)
&lt;/h1&gt;

&lt;p&gt;Python follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. ()  - LEFT TO RIGHT ASSOCIATIVITY
2. **  - RIGHT TO LEFT ASSOCIATIVITY
3. *, /, //, %   - LEFT TO RIGHT ASSOCIATIVITY
4. +, -          - LEFT TO RIGHT ASSOCIATIVITY
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;      &lt;span class="c1"&gt;# 14
&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;    &lt;span class="c1"&gt;# 20
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;👉 Brackets change priority.&lt;/p&gt;




&lt;h1&gt;
  
  
  4️⃣ Associativity Rule
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Exponent (&lt;code&gt;**&lt;/code&gt;) works Right → Left
&lt;/h3&gt;



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

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2 ** (3 ** 2)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h1&gt;
  
  
  5️⃣ Common Practical Formulas
&lt;/h1&gt;

&lt;h3&gt;
  
  
  📌 Average
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;avg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  📌 Algebra Expansion
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h1&gt;
  
  
  6️⃣ Quick Memory Tricks
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/&lt;/code&gt; → decimal answer&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;//&lt;/code&gt; → remove decimal&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;%&lt;/code&gt; → remainder&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;**&lt;/code&gt; → power&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;()&lt;/code&gt; → VIP control&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;#python #Day1 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 4!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Mon, 16 Feb 2026 15:12:58 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-4-5366</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-4-5366</guid>
      <description>&lt;h2&gt;
  
  
  Understanding Variables
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Think of a variable as a labeled box where your program stores information. In Python, we create a variable using the assignment operator =. The name goes on the left, and the value goes on the right. That value can be a number, text (inside quotes), or other data. For example, age = 25 means we’re storing the number 25 inside a box called age. The beauty of variables? Their values can change later in the program — they’re flexible!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Python treats uppercase and lowercase letters differently, so CLASS and Class are two completely different variables. But beware — you cannot use reserved keywords like class as variable names because Python already owns them.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Variables follow simple naming rules: start with a letter or underscore, avoid spaces, and don’t begin with numbers. Names like age2, marks, or user_name are valid and readable.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;When we print "age" (with quotes), Python displays the word age. But when we print age (without quotes), Python shows the stored value. Small difference, big meaning!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We can even check what type of data a variable holds using type(). And with id(), Python reveals the memory address of the stored value. Interestingly, if two variables store the same immutable value (like x = 10 and y = 10), Python may point both to the same memory location to save space. But once you update x = 20, it gets a new memory reference while y still points to 10.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In short, variables are the foundation of programming — they store, update, and manage data, making your programs dynamic and smart//&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;SO BASICALLY WE DID A EXPERIMENT ON VARIABLE, TO EAGERLY LEARN ABOUT MORE PLEASE DO FOLLOW AND CONTINUE YOUR JOURNEY WITH ME&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day4 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>python</category>
    </item>
    <item>
      <title>pythoonzie DAY 3!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Sun, 15 Feb 2026 14:28:18 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-1-227d</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-1-227d</guid>
      <description>&lt;h2&gt;
  
  
  What are language fundamental
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Language fundamentals are the basic building blocks of a programming language. They include concepts such as keywords, identifiers, variables, operators, type casting, user input, decision making, loops, string handling, and container data types.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;A. Keywords&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Keywords&lt;/strong&gt; are reserved words in a programming language that have a predefined meaning and cannot be used as identifiers&lt;br&gt;
 (variable names, function names, etc.). They are the building blocks of the language and are used to define the structure &lt;br&gt;
and syntax of the code.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;_ Keywords are reserved words with predefined meanings that cannot be used          as identifiers.&lt;br&gt;
 Keywords are reserved words that have predefined meanings in a language.&lt;br&gt;
 You cannot use them as variable names._&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EXAMPLE:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;if, else, elif, for, while, break, def, return, continue, True, False, None&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;B.Comment&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;_Comments are non-executable notes used to explain code. They are ignored by the interpreter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EXAMPLE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"""&lt;br&gt;
This is a &lt;br&gt;
multi-line comment&lt;br&gt;
""" &lt;/p&gt;

&lt;h1&gt;
  
  
  This is a single-line comment
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;C.Variable&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;_A variable is a named storage location that holds a value.&lt;/p&gt;

&lt;p&gt;Variables are used to store data. They can be of various types such as integers, floats, strings, etc._&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EXAMPLE:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;x = 10&lt;br&gt;
name = "Bhartii"&lt;br&gt;
print(x, name)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;D.Operator&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;_  Operators perform operations on variables and values (arithmetic, logical, comparison, etc.)._&lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;Arithmetic operators: _+, -, &lt;em&gt;, /, %, *&lt;/em&gt;, //&lt;/em&gt;&lt;br&gt;
Comparison operators: &lt;em&gt;==, !=, &amp;gt;, &amp;lt;, &amp;gt;=, &amp;lt;=&lt;/em&gt;&lt;br&gt;
Logical operators: &lt;em&gt;and, or, not&lt;/em&gt;&lt;br&gt;
Assignment operators: &lt;em&gt;=, +=, -=, &lt;em&gt;=, /=, %=, *&lt;/em&gt;=, //&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;a = 5&lt;br&gt;
b = 2&lt;br&gt;
print(a + b)   # Addition&lt;br&gt;
print(a &amp;gt; b)   # Comparison&lt;br&gt;
print(a &amp;gt; 3 and b &amp;lt; 3)  # Logical&lt;br&gt;
a += 3  # Assignment&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;E.Type casting&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;_  Type casting is the process of converting a variable from one data type to another. This can be done using built-in functions&lt;br&gt;
 like int(), float(), str(), etc._**&lt;/p&gt;

&lt;p&gt;**&lt;em&gt;MEANS Type casting converts one data type into another.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;** EXAMPLE: **&lt;/p&gt;

&lt;p&gt;_x = "10"&lt;br&gt;
y = int(x)  # Type casting from string to integer&lt;br&gt;
print(y)  # Output: 10&lt;br&gt;
print(type(y))  # Output:  _&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;F.User input&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;_   User input allows the program to receive data from the user during runtime. &lt;br&gt;
In Python, the input() function is used to get user input as a string.&lt;br&gt;
Allows users to enter data during program execution._&lt;/p&gt;

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

&lt;p&gt;_name = input("Enter your name: ")&lt;br&gt;
print("Hello, " + name + "!")&lt;/p&gt;

&lt;p&gt;name = input("Enter your name: ")&lt;br&gt;
print("Hello", name)_&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;G.Decision&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;**  Decision making allows the program to execute certain blocks of code based on conditions.&lt;/p&gt;

&lt;p&gt;Used to execute code based on conditions &lt;em&gt;(if, elif, else)&lt;/em&gt;.**&lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;age = 18&lt;br&gt;
if age &amp;gt;= 18:&lt;br&gt;&lt;br&gt;
    print("You are an adult.")&lt;br&gt;&lt;br&gt;
else:&lt;br&gt;&lt;br&gt;
    print("You are a minor.")&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;H.Loop&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Loops are used to repeat a block of code multiple times. In Python, we have for loops and while loops.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;_&lt;br&gt;
MEANS Loops repeat execution of a block of code (for loops, while)._&lt;/p&gt;

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

&lt;p&gt;_for i in range(5):  # For loop&lt;br&gt;
    print(i)&lt;br&gt;
      i = 0&lt;/p&gt;

&lt;p&gt;while i &amp;lt; 5:         # While loop&lt;br&gt;&lt;br&gt;
         print(i)&lt;br&gt;
         i += 1  &lt;/p&gt;

&lt;p&gt;for i in range(3):&lt;br&gt;
    print("Iteration", i)_&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I.String Handling&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;_String handling refers to the manipulation and processing of strings in programming.&lt;/p&gt;

&lt;p&gt;String handling involves manipulating and processing text data.&lt;br&gt;
Operations performed on strings (concatenation, slicing, methods)._&lt;/p&gt;

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

&lt;p&gt;*&lt;em&gt;name = "Bhartii" *&lt;/em&gt;  &lt;/p&gt;

&lt;p&gt;**_&lt;/p&gt;

&lt;h1&gt;
  
  
  Concatenation
&lt;/h1&gt;

&lt;p&gt;greeting = "Hello, " + name + "!"&lt;br&gt;&lt;br&gt;
print(greeting)  # Output: Hello, Bhartii!_**  &lt;/p&gt;

&lt;p&gt;** Slicing **&lt;/p&gt;

&lt;p&gt;print(name[0:3])  # Output: Bha (slices the first three characters&lt;br&gt;
print(name[-3:])  # Output: rii (slices the last three characters)&lt;br&gt;
    _**&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Methods&lt;/strong&gt;&lt;br&gt;
**&lt;/p&gt;

&lt;p&gt;Methods are built-in functions that perform specific operations on strings. Examples include:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; - upper(): Converts a string to uppercase.
 - lower(): Converts a string to lowercase.
 - strip(): Removes leading and trailing whitespace from a string.
 - split(): Splits a string into a list of substrings based on a     specified delimiter.
 - replace(): Replaces occurrences of a specified substring with another substring.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;** EXAMPLE: **
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;**_ name = "  Bhartii  "       &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(name.upper())  # Output: BHARTII
print(name.lower())  # Output: bhartii
print(name.strip())  # Output: Bhartii
print(name.split())  # Output: ['Bhartii'] (splits on whitespace)
print(name.replace("a", "o"))  # Output: Bhortii (replace   places 'a' with 'o')   ** _
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Container datatypes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;_Container data types are data structures that can hold multiple values. Examples include lists, tuples, sets, and dictionaries.&lt;br&gt;
_&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Container data types can hold multiple values (lists, tuples, sets, dictionaries).&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;List&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;_-  A list is an ordered, mutable collection of items. It is defined using square brackets [].&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Lists can contain elements of different data types and can be modified after creation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;my_list = [1, "Hello", 3.14, True]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;print(my_list)  # Output: [1, 'Hello', 3.14, True]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;my_list.append("World")  # Adding an element to the list&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;print(my_list)  # Output: [1, 'Hello', 3.14, True, 'World'] _&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tuple&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;_- A tuple is an ordered, immutable collection of items. It is defined using parentheses ().&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Tuples can contain elements of different data types but cannot be modified after creation.&lt;/li&gt;
&lt;li&gt;my_tuple = (1, "Hello", 3.14, True)&lt;/li&gt;
&lt;li&gt;print(my_tuple)  # Output: (1, 'Hello', 3.14, True)_&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Set&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;_-  A set is an unordered collection of unique items. It is defined using curly braces {}.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Sets do not allow duplicate elements and are mutable.&lt;/li&gt;
&lt;li&gt;my_set = {1, "Hello", 3.14, True}&lt;/li&gt;
&lt;li&gt;print(my_set)  # Output: {1, 'Hello', 3.14, True}_&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Dictionary&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;_A dictionary is an unordered collection of key-value pairs. It is defined using curly braces {}.&lt;/li&gt;
&lt;li&gt;Each key in a dictionary must be unique and immutable.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;my_dict = {"name": "Bhartii", "age": 25, "city": "Delhi"}&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;print(my_dict)  # Output: {'name': 'Bhartii', 'age': 25, 'city': 'Delhi'}_&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;**_ my_list = [1, 2, 3]&lt;br&gt;
    my_tuple = (10, 20)&lt;br&gt;
    my_set = {5, 6, 7}&lt;br&gt;
    my_dict = {"name": "Bhartii", "age": 21}&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(my_list)
print(my_dict["name"]) _**
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;'''&lt;br&gt;
hope you find these blog interesting and useful in contributing daily progress- you can give me other tips and topic what else i should discuss in completing my data science journey. mail to - &lt;a href="mailto:bhartii1017@gmail.com"&gt;bhartii1017@gmail.com&lt;/a&gt;&lt;br&gt;
babyee , see you later, revise and recall with me i'll share few more tips and tricks with time:)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#python #Day3 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>discuss</category>
      <category>datascience</category>
    </item>
    <item>
      <title>pythoonzie DAY 2!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Thu, 12 Feb 2026 17:44:01 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-2-5586</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-2-5586</guid>
      <description>&lt;p&gt;Hey!! if you really wanna learn concepts of python with me get in touch with my blogs on daily basis .I'll cover today numeric basic data types in print function analysis, here we go:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It is a library function that writes 0-N values of any data type to standard output in terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has by default separater = " " (i.e., space)&lt;br&gt;
                   and end = "\n" (i.e., next line)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The print function always written in small character to print the   output from the program.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So , basically it has syntax of :&lt;br&gt;
&lt;strong&gt;print (value1, value2, value3, value4,..... sep= "",end "\n").&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;sep&lt;/strong&gt;(separator)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Controls what is placed between multiple values passed to print().&lt;/li&gt;
&lt;li&gt;Default value: a single space " ".&lt;/li&gt;
&lt;li&gt;It must be string and cannot be repeated &lt;strong&gt;WHEN&lt;/strong&gt; we assign value to it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;end&lt;/strong&gt; (ending character/string)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Controls what is printed at the end of the line.&lt;/li&gt;
&lt;li&gt;Default value: newline "\n" (moves cursor to next line).&lt;/li&gt;
&lt;li&gt;It must be string and cannot be repeated &lt;strong&gt;WHEN&lt;/strong&gt; we assign value to it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;#python #Day2 #DataScience #bhartiinsan&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>pythoonzie DAY 1!</title>
      <dc:creator>Bhartiprof</dc:creator>
      <pubDate>Wed, 11 Feb 2026 15:44:41 +0000</pubDate>
      <link>https://dev.to/bhartiinsan/pythoonzie-day-1-5ad7</link>
      <guid>https://dev.to/bhartiinsan/pythoonzie-day-1-5ad7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Programming&lt;/strong&gt; means giving step-by-step instructions to a computer so it can perform tasks like calculations, decision-making, and automation.&lt;/p&gt;

&lt;p&gt;•Python is a programming language designed to be simple, readable, and beginner-friendly, while still being powerful for real-world applications.&lt;/p&gt;

&lt;p&gt;•Python was created by &lt;strong&gt;Guido van Rossum&lt;/strong&gt; in*&lt;em&gt;_ 1989_&lt;/em&gt;* at the research institute CWI (Netherlands) and was officially released in 1991.&lt;/p&gt;

&lt;p&gt;•Python was named after the British comedy show &lt;strong&gt;&lt;em&gt;Monty Python’s Flying Circus&lt;/em&gt;&lt;/strong&gt;, not the snake. &lt;/p&gt;

&lt;p&gt;The funny part is that Guido wanted programming to feel fun and relaxed, which is why Python uses playful examples like spam and eggs.&lt;/p&gt;

&lt;p&gt;•Python works using an interpreter, which reads Python code and converts it into machine-level instructions executed by the CPU.&lt;/p&gt;

&lt;p&gt;•Although Python is slow on its own, it becomes fast because most heavy work is handled by C/C++ libraries behind the scenes (such as NumPy, Pandas, and ML frameworks).&lt;/p&gt;

&lt;p&gt;•When NVIDIA GPUs are used, Python sends tasks to C/C++ backends that use CUDA, allowing calculations to run in parallel on the GPU, which is extremely fast for AI and data processing.&lt;/p&gt;

&lt;p&gt;HEY this is my first blog of learning python i will continue this and please free to give me feedback and topics you're interested me to explain in detail (i'm also doing research side by side ,huh)&lt;br&gt;
**&lt;/p&gt;

&lt;h1&gt;
  
  
  python #Day1 #DataScience #bhartiinsan**
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>python</category>
    </item>
  </channel>
</rss>
