<?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: Onabanjo Kofoworola</title>
    <description>The latest articles on DEV Community by Onabanjo Kofoworola (@onabanjokofoworola).</description>
    <link>https://dev.to/onabanjokofoworola</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%2F4120044%2F750f452d-d580-4a38-ae3c-7499bc03187e.jpg</url>
      <title>DEV Community: Onabanjo Kofoworola</title>
      <link>https://dev.to/onabanjokofoworola</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/onabanjokofoworola"/>
    <language>en</language>
    <item>
      <title>Humbled by the Basics: Week 1 with Python</title>
      <dc:creator>Onabanjo Kofoworola</dc:creator>
      <pubDate>Fri, 11 Sep 2026 01:46:56 +0000</pubDate>
      <link>https://dev.to/onabanjokofoworola/humbled-by-the-basics-week-1-with-python-40k2</link>
      <guid>https://dev.to/onabanjokofoworola/humbled-by-the-basics-week-1-with-python-40k2</guid>
      <description>&lt;p&gt;One would think beginner Python is just printing "Hello, World!", copy-pasting a few lines of syntax, and vibing.Until you sit down to actually do the tasks, and suddenly you realize you need to use your entire brain.&lt;/p&gt;

&lt;p&gt;Going through the initial crash course material, all I could see were blocks upon blocks of code. At first glance, everything looked straightforward. Then things escalated quickly. I was looking at the screen thinking, “Wait, what is this?” I could literally feel my brain expanding and buffering in real-time.&lt;/p&gt;

&lt;p&gt;It reminded me so much of primary school mathematics: the teacher’s classroom example is 2 + 2 = 4, but the homework questions ask you to calculate the total energy required to push a car (HOT TEARS😭).&lt;/p&gt;

&lt;p&gt;Here is what went down, how I tackled 10 core logic questions plus 5 mini projects, and why this assignment completely cured my habit of rushing past the fundamentals.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 1: Warming Up (And Getting Humbled)
&lt;/h2&gt;

&lt;p&gt;I decided to put my thinking cap on and take the questions one by one instead of staring at the whole list and panicking.&lt;/p&gt;

&lt;p&gt;The first couple of questions were smooth sailing:&lt;br&gt;
Outputting "Hello, World!" (classic tradition).&lt;br&gt;
Taking user inputs for name and age and formatting them into a greeting message using f-strings.&lt;br&gt;
Using the modulo operator (% 2) to separate even numbers from odd numbers.&lt;/p&gt;

&lt;p&gt;Then came the loop questions🥲.&lt;/p&gt;

&lt;p&gt;Generating a multiplication table from 1 to 12 was clean enough with a for i in range(1, 13) loop. But then I hit Factorial. Even though I knew the mathematical definitions, translating them into working Python loops made me pause and think real deep. Then a term I had never heard “Fibonacci”. It made me question my mathematical knowledge.&lt;/p&gt;

&lt;p&gt;Eventually, I got it all done, but getting there required slowing down, being open to learning new things and remembering that a single problem in code can always be solved in multiple ways.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 2: The Mini Projects: Python in the Real World
&lt;/h2&gt;

&lt;p&gt;Once the 10 quick tasks were out of the way, the assignment moved into 5 mini-projects. This was my favorite part because you actually see how the syntax connects to stuff people use every day:&lt;/p&gt;

&lt;p&gt;The Student Grades System: It involved taking scores for 5 subjects, calculating an average, and chaining if-elif-else conditions to award letter grades (A, B, C, or F). It hit me that this is literally the baseline script behind automated school portal grading.&lt;/p&gt;

&lt;p&gt;Simple Calculator: Handling operations (+, -, *, /) with conditional branching, plus catching edge cases like trying to divide by zero so the script doesn't crash.&lt;/p&gt;

&lt;p&gt;Shopping Cart: Using a Python dictionary to store item names and prices dynamically in a while loop until typing "done", then summing up the grand total.&lt;/p&gt;

&lt;p&gt;The Number Guessing Game: Importing random, generating an integer between 1 and 20, and running a loop with "too high" or "too low" hints until the user nails it (hehe🤖).&lt;/p&gt;

&lt;p&gt;File Handling: Taking input for student names, writing them to a .txt file using the with open(...) context manager, and then reading them back to the terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Biggest Challenge &amp;amp; How I Beat It
&lt;/h2&gt;

&lt;p&gt;My biggest hurdle wasn’t that I didn’t know Python syntax. It was the disconnect between thinking you know a concept versus translating an open-ended problem statement into working logic. You think you understood the concepts until you are humbled by questions🙂‍↕️.&lt;/p&gt;

&lt;p&gt;When you read through notes or watch a tutorial, everything makes sense because someone else already solved the puzzle. When you’re sitting alone in a Colab notebook with a blank cell, your mind freezes: Where do I start? What variable do I initialize first? Should this be a while loop or a for loop?&lt;/p&gt;

&lt;p&gt;Whenever I felt stuck, I did three things:&lt;br&gt;
Stepped away from the code editor: I took a pause to think, and tried to understand the question in simple basic english.&lt;br&gt;
Re-read the documentation: Instead of guessing, I went back to the course notes and official Python docs to clarify how specific built-ins and loops actually behave.&lt;br&gt;
Tested incrementally: Instead of writing 20 lines and praying, I wrote two lines, printed the output, verified it worked, and built from there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons Taken to Heart🙂‍↔️
&lt;/h2&gt;

&lt;p&gt;If this assignment taught me anything, it’s that you should never rush the foundation.&lt;/p&gt;

&lt;p&gt;Although I wasn’t completely new to Python, I had rushed through the basics in the past just to get to the “flashy” stuff. And when your foundation has cracks, the moment you get a problem without a pre-made template, you get stuck.&lt;/p&gt;

&lt;p&gt;I also learned that:&lt;br&gt;
There’s never just one way to code a solution: The same message can be said in ten different tones; the same task can be coded with loops, list comprehensions, or recursion.&lt;/p&gt;

&lt;p&gt;Basic commands build practical tools: An if statement can grade an exam. A dictionary can run a supermarket checkout. A file handling script can save a business database. The tools aren't complicated; it's how you combine them.&lt;/p&gt;

&lt;p&gt;I got humbled, took a step back, and rebuilt my confidence with the fundamentals. And honestly? I’m glad I did it right this time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Module 2 next… shall we?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>devrel</category>
    </item>
  </channel>
</rss>
