<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alade Zaccheous on Medium]]></title>
        <description><![CDATA[Stories by Alade Zaccheous on Medium]]></description>
        <link>https://medium.com/@aladezaccheous52?source=rss-6f47a95703a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ur2TSHY02myHUpEj</url>
            <title>Stories by Alade Zaccheous on Medium</title>
            <link>https://medium.com/@aladezaccheous52?source=rss-6f47a95703a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 16:11:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aladezaccheous52/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Can We Really Trust the Results of Machine Learning Models That Predict Software Bugs?]]></title>
            <link>https://medium.com/@aladezaccheous52/can-we-really-trust-the-results-of-machine-learning-models-that-predict-software-bugs-03fdddb490c4?source=rss-6f47a95703a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/03fdddb490c4</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Alade Zaccheous]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 06:45:24 GMT</pubDate>
            <atom:updated>2026-10-10T06:45:24.687Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*em6-8k6qkcEaeX8b19x_sg.png" /></figure><p><em>My DataRaFlow Weeks 4–5 experience: learning to research a problem, question assumptions, and investigate the reliability of machine learning models.</em></p><h3>Introduction: When I Started Looking for a Research Problem</h3><p>As a Computer Science student approaching my final year, I started asking myself a question: <em>What problem can I solve, and what kind of solution can I contribute?</em></p><p>I wanted to work on something meaningful, something I could investigate and hopefully contribute a useful solution to. That was when I started looking for research problems.</p><p>Honestly, when we got to Weeks 4 and 5 at DataRaFlow, the research process felt overwhelming at first. I had some ideas in mind, but I couldn’t clearly explain the exact problem I wanted to solve, why it mattered, or how I would approach it.</p><p>I kept searching, reading, and exploring different areas of Computer Science. Sometimes, I would find a problem that interested me, only to discover that other researchers had already worked on it.</p><p>At first, I thought I needed to find something completely new, a problem nobody had ever explored before. But the more I searched, the more I realised that finding such a problem was not as easy as I had imagined.</p><p>Eventually, I started looking at things differently.</p><p>Instead of asking only, <em>What problem has nobody solved?</em> I began asking myself, <em>What problems still need to be understood better? What assumptions are we making, and how reliable are they?</em></p><p>That change in thinking led me to the problem I am now investigating.</p><p>This is my first research project, so there have been moments when I wondered whether I was actually doing something meaningful or simply making things more complicated for myself. I didn’t have all the answers, and I was still learning how to approach research properly.</p><p>But I decided to take it up anyway. I see it as an opportunity to learn, challenge myself, and push beyond what I already know.</p><p>And that is how my research journey began.</p><h3>The Question That Caught My Attention</h3><p>We are in a time when AI models can generate code that looks clean, complete, and sometimes almost perfect. Developers can use AI to write functions, build applications, fix errors, and speed up software development.</p><p>But generating code is only one part of building reliable software.</p><p>How do we know whether software will remain reliable as it changes? How can we identify potential defects before they cause problems? And how much confidence should we place in the machine learning models we use to make those predictions?</p><p>These questions caught my attention because they made me think about something important: <strong>a model can produce impressive results, but do those results tell us the full story?</strong></p><p>I am not saying that AI-generated code is always unreliable or that machine learning models cannot help developers. What interests me is how we evaluate these models and whether the methods we use give us a realistic understanding of their performance.</p><p>I wanted to investigate this more closely, particularly in software defect prediction.</p><h3>The Problem Is Not Always the Model</h3><p>When we talk about machine learning, we often focus on the algorithm, the training process, the features, and the final performance score.</p><p>We want to know whether a model achieved high accuracy, whether it performed better than another model, and whether we can improve its results.</p><p>Those things matter. But I started thinking about another question: <strong>What if a model’s performance looks good partly because of the way we tested it?</strong></p><p>Imagine a software development team working on a large application. As the application grows and changes, bugs and defects can become a serious concern. Some defects may affect performance, while others may cause features to fail or create problems for users.</p><p>If developers can predict which parts of a software system are more likely to contain defects, they may be able to prioritise code reviews and testing more effectively.</p><p>This is the idea behind software defect prediction.</p><p>Machine learning models can learn patterns from software metrics, which are numerical measurements describing different characteristics of software components. These metrics can help a model identify patterns associated with defective and non-defective components.</p><p>However, training a model is only part of the process. We also need to evaluate it in a way that gives us useful evidence about how it might perform on data it has not seen before.<br>A good score alone does not tell the whole story. We need to understand how that score was obtained.</p><h3>Why the Way We Split Data Matters</h3><p>One common approach to evaluating a machine learning model is to divide a dataset into two parts: a training set and a testing set.</p><p>The model learns patterns from the training data, while the testing data is used to assess how well it performs on examples it has not been trained on.</p><p>A random split is a common way to divide the data. However, software development introduces an additional challenge: software changes over time.</p><p>Imagine a project with several versions. Version 1 contains a collection of software components. In version 2, some components remain, some are modified, and others may be added or removed.</p><p>If we want to know how well a model might predict defects in a future version, should we simply mix data from different versions randomly? Or should we train the model using earlier versions and test it on a later one?</p><p>A chronological evaluation offers another approach: train the model using earlier versions and test it on a later version.</p><p>This more directly reflects the question of whether what the model learned from the past can help it predict defects in the future. It does not automatically guarantee a better or more realistic evaluation, but it gives us a way to investigate the question.</p><p>There is also another issue I want to examine: repeated feature vectors across training and testing data.</p><p>A feature vector is simply a collection of numerical values describing a software component. In my study, I will examine six software metrics: CBO, DCC, ExportCoupling, ImportCoupling, NOM, and WMC.</p><p>Two records can have exactly the same values for these metrics. That does not necessarily mean they represent the same source code, but it raises an important question about how this kind of overlap might affect model evaluation.</p><p>Could the presence of identical feature vectors in both training and testing data influence the results? If it does, how much difference would it make?</p><p>Rather than assume that it matters or that it does not, I want to investigate it through experiments.</p><h3>What Exactly Am I Researching?</h3><p>My research is titled:</p><p><strong>Assessing the Reliability of Machine Learning-Based Software Defect Prediction Under Temporal and Data Leakage Constraints.</strong></p><p>In simpler terms, I want to investigate whether the way we evaluate software defect prediction models changes our understanding of their performance.</p><h4><strong><em>To explore this, I plan to compare four experimental conditions.</em></strong></h4><ol><li><strong>Random split without overlap control:</strong> Randomly divide the eligible data into training and testing sets without removing test records whose feature vectors also appear in the training data.</li><li><strong>Random split with overlap control:</strong> Use a random split, then remove test records whose six software metric values also appear in the training data.</li><li><strong>Chronological evaluation without overlap control:</strong> Train on earlier software versions and test on a later version without removing overlapping feature vectors.</li><li><strong>Chronological evaluation with overlap control:</strong> Use the chronological approach and apply the same feature-vector overlap control.</li></ol><p>By comparing these conditions, I hope to understand whether the evaluation strategy and the treatment of repeated feature vectors affect the results.</p><p>I plan to use two machine learning algorithms: Logistic Regression and Random Forest.</p><p>For evaluation, I will focus primarily on the Matthews Correlation Coefficient (MCC), alongside precision, recall, F1-score, PR-AUC, and confusion matrices.</p><p>You might wonder why I don’t simply use accuracy.</p><p>Accuracy is useful, but software defect datasets can contain many more non-defective examples than defective ones. In such cases, a model could correctly predict most of the non-defective examples and achieve high accuracy while still struggling to identify actual defects.</p><p>MCC provides another way to evaluate a model because it takes into account correct and incorrect predictions across both classes.</p><p>I also need to be careful about how I conduct the experiments. I will examine the dataset, check for duplicates, document the records removed during overlap control, and report the test-set sizes and class distributions.</p><p>This matters because removing overlapping records changes the testing data. If I want to make a fair comparison, I need to understand and report those changes rather than focus only on the final scores.</p><p>These details may seem small, but they matter when the goal is to produce results that other people can understand and assess.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JzJf70XVKAtLrmEgYOciqw.png" /></figure><h3>What Do I Hope to Learn?</h3><p>One thing I want to be clear about is that I am not starting this research with the assumption that one evaluation method must produce worse results than another.</p><p>I want the evidence to determine the conclusion.</p><p>The different experimental conditions may produce substantial differences, small differences, or inconsistent results across software projects. Any of these outcomes could teach me something useful.</p><p>If the results change considerably under different evaluation conditions, it may show that the way we test defect prediction models deserves more attention than a single performance score can provide.</p><p>If the differences are small, that is worth reporting too.</p><p>My goal is to understand what happens, why it might happen, and what the findings mean for people developing and evaluating software defect prediction models.</p><p>I also need to understand how my work relates to existing research. I am not assuming that nobody has studied temporal evaluation, data leakage, or repeated software components before. Part of my responsibility is to read previous studies and establish what my particular experimental comparison can contribute.</p><p>This is another thing I am learning about research: finding a question that interests you is only the beginning. You also need to understand what other researchers have already discovered and where your investigation fits.</p><p>Research should not be about claiming something is new simply because you have not encountered it before. It should be about understanding what is already known and identifying a question that still deserves careful investigation.</p><h3>What This Research Journey Is Teaching Me</h3><p>Since this is my first research project, I am learning more than just the technical side of the problem.</p><p>I am learning that research takes patience. Sometimes, you have an idea but cannot explain it clearly. Sometimes, you spend time exploring a direction and discover that it is not the right one. And sometimes, the more you read, the more questions you have.</p><p>I have experienced some of that already.</p><p>There were moments when I wondered whether I was making meaningful progress. I wanted to find a problem I could solve, but I was also discovering how much thought goes into defining a research problem, understanding previous work, and deciding how to investigate a question.</p><p>I am beginning to understand that research is not simply about finding an answer. It is also about asking the right questions, examining evidence, and being honest about what the evidence can and cannot tell you.</p><p>I want to learn how to investigate a problem properly, understand previous work, design experiments, analyse results, and explain my findings clearly. I also want to challenge myself to work on something that stretches my current abilities.</p><p>I am still working through the literature review, dataset checks, and experimental design. I do not have final results to present yet, and I think it is important to be honest about that.</p><p>As I progress, I hope to share what I learn, including the difficulties, unexpected findings, and lessons that may be useful to other students who are also beginning their research journey.</p><h3>One Thing I Am Beginning to Understand</h3><p>For a long time, I thought finding a research topic meant finding a problem nobody had ever solved.</p><p>Now, I am beginning to see it differently.</p><p>Research can also mean examining an existing problem more carefully, questioning assumptions, and testing whether the conclusions we rely on are supported by evidence.</p><p>In machine learning, building a model that produces a good score is important. But understanding how that score was obtained is important too.</p><p>As AI continues to make code generation easier, I believe we should also keep asking how we can test software, evaluate our tools, and make better-informed decisions about reliability.</p><p>I do not know exactly where this research will lead yet. There is still a lot to read, test, understand, and improve. But I have decided to take the opportunity seriously, learn as much as I can, and see how far I can push myself.</p><h3>Conclusion: The Research Journey Continues</h3><p>My DataRaFlow Weeks 4–5 experience has been different from simply learning a new Python concept or completing a programming assignment. It has pushed me to think about a problem, question what I already know, and explore how I can investigate something that matters to me.</p><p>I started by looking for a problem nobody had solved. I am now learning that meaningful research can begin by asking whether something we already trust has been properly examined.</p><p>I still have a long way to go with this project, and I know the process will not always be easy. But I am willing to learn, make mistakes, improve my approach, and keep going.</p><p><strong>The question I am investigating is simple: before we trust a machine learning model’s performance, shouldn’t we first make sure that the way we tested it deserves that trust?</strong></p><p>That is what I am working to understand.</p><p>And this is only the beginning of my research journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03fdddb490c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 of My Python Journey: Learning to Work with Real World Data]]></title>
            <link>https://medium.com/@aladezaccheous52/week-3-of-my-python-journey-learning-to-work-with-real-world-data-2a3f6583189b?source=rss-6f47a95703a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a3f6583189b</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Alade Zaccheous]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 13:59:58 GMT</pubDate>
            <atom:updated>2026-09-28T13:59:58.929Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ir93DfI7yD5nj9s-pIVZDQ.png" /></figure><p><em>My DataRaFlow Week 3 experience with Python modules, date and time, mathematics, JSON, pip, virtual environments, file handling, and an introduction to SQL.</em></p><h3>Introduction: Another Week, Another Step Forward</h3><p>When I started learning Python, I thought the journey would mainly be about learning syntax, understanding functions, and writing code that works. But as I continued, I began to realise that knowing how to write code is only one part of becoming a good programmer.</p><p>Week 3 of my DataRaFlow journey introduced me to concepts that helped me understand how Python can be used to solve practical problems and work with real-world data.</p><p>This week, I explored modules, date and time operations, mathematical calculations, JSON, pip, virtual environments, reading and rewriting files, exception handling, and an introduction to SQL.</p><p>At first, these topics felt like another set of things I needed to understand. But as I practised and worked through the assignments, I started seeing how they connect to the things I had already learned.</p><p>Some tasks were straightforward, while others required me to slow down, think carefully, and figure out what I was actually trying to achieve.</p><p>And that is one thing I am beginning to appreciate about learning Python: it is not just about knowing what to write, but understanding why you are writing it.</p><h3>Learning About Modules: Organising My Code</h3><p>One of the first topics I explored this week was <strong>modules</strong>.</p><p>Before now, I mostly wrote my Python code in a single file. Learning about modules helped me understand that I could separate my code into different files and reuse it whenever I needed it.</p><p>A module is simply a Python file that contains reusable code, such as functions, classes, and variables.</p><p>For example, I could create a calculator.py file containing functions for addition, subtraction, multiplication, and division, then import those functions into another Python file.</p><p>This made me realise that I don’t have to put everything in one place. I can organise my code into smaller, related parts, making it easier to understand, reuse, and maintain.</p><p>It was a simple concept, but it changed how I think about structuring my programs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*lxk04dRLSRUUBthdheTJsA.png" /></figure><h3>Working with Dates and Time: Making Calculations Easier</h3><p>Another interesting topic was working with dates and time using Python’s datetime module.</p><p>I learned how to create date objects, get the current date, and calculate the number of days between two dates.</p><p>One of the assignments I worked on involved calculating the number of days between two given dates.</p><p>At first, it seemed like something I could figure out manually. But using Python made the process much easier and helped me understand how programs can handle date calculations.</p><p>Here is a simple example of what I practised:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*IOHQBjd9gy59eK37AmZgUw.png" /></figure><pre>What I found interesting was that subtracting the two dates gave me a timedelta object, and using .days allowed me to get the number of days directly.</pre><p>I also explored how to calculate the number of days remaining until someone’s next birthday.</p><p>That exercise helped me see how date calculations can be used in everyday situations, such as birthday reminders, countdowns, and scheduling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*TYnhY210CrgsPCs7zBZSMQ.png" /></figure><h3>Exploring the Math Module: Using Python for Calculations</h3><p>After working with dates, I explored Python’s math module.</p><p>This module provides mathematical functions and constants that make calculations easier.</p><p>One of the things I learned was math.pi, which represents the mathematical constant π, approximately 3.14159.</p><p>I used it to calculate the area of a circle.</p><p>The formula was simple:</p><p><strong>Area = π × radius²</strong></p><p>Here is the example I practised:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*SeI1EzpaskoKjho-Dv4gYQ.png" /></figure><p>What interested me was how I could take a mathematical formula and turn it into a working Python program.</p><p>I also understood that using math.pi saves me from having to type the value of pi manually.</p><p>This exercise helped me see how Python’s built-in modules can make calculations easier and more accurate.</p><h3>Understanding JSON: Converting Python Data and Working with Files</h3><p>JSON was one of the topics that made me slow down and think more carefully about what I was doing.</p><p>JSON stands for <em>JavaScript Object Notation</em>. It is a format used to store and exchange structured data between applications.</p><p>Before learning about JSON, I mostly worked with Python dictionaries, lists, strings, and numbers. This topic helped me understand how Python data can be converted into a format that can be stored or shared with other systems.</p><p>I learned that Python has a built-in json module that allows us to convert Python objects into JSON and convert JSON data back into Python objects.</p><p>But one thing I had to understand was that <strong>converting data into a JSON string is not the same as saving it in a JSON file.</strong></p><p>That distinction helped me understand the four main functions in the json module: dumps(), loads(), dump(), and load().</p><h3>Converting a Python dictionary into a JSON string</h3><p>Let’s say I have a Python dictionary containing a student’s quiz result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*2RBxzh2NXITRTWgb0hqtaA.png" /></figure><p>Here, json.dumps() converts the Python dictionary into a JSON-formatted string.</p><p>The information is now represented as a string, but it has not been saved in a file.</p><h3>Understanding dumps() and loads()</h3><p>This was where I had to pay closer attention.</p><p>I initially confused dumps() with loads(). I realised that knowing the syntax was not enough; I needed to understand what each function was meant to do.</p><p>The easiest way I understood it was:</p><ul><li><strong>json.dumps()</strong> converts a Python object into a JSON string.</li><li><strong>json.loads()</strong> takes a JSON string and converts it back into a Python object.</li></ul><p>For example, after converting my dictionary into a JSON string, I can convert it back:</p><pre>import json</pre><pre>json_data = &#39;{&quot;name&quot;: &quot;Zacch&quot;, &quot;score&quot;: 4, &quot;total_questions&quot;: 5}&#39;</pre><pre>python_data = json.loads(json_data)</pre><pre>print(python_data)<br>print(type(python_data))</pre><p>The output is:</p><pre>{&#39;name&#39;: &#39;Zacch&#39;, &#39;score&#39;: 4, &#39;total_questions&#39;: 5}<br>&lt;class &#39;dict&#39;&gt;</pre><p>This shows that the JSON string has been converted back into a Python dictionary.</p><p>I can now access the information using its keys:</p><pre>print(python_data[&quot;name&quot;])<br>print(python_data[&quot;score&quot;])</pre><p>Output:</p><pre>Zacch<br>4</pre><p>Understanding this helped me see that converting data into JSON and converting it back are two different operations.</p><h3>Saving a Python dictionary into a JSON file</h3><p>Another important thing I learned was how to save a Python dictionary directly into a JSON file.</p><p>This is where json.dump() comes in.</p><p>Unlike json.dumps(), which returns a JSON string, json.dump() writes the data into a file.</p><p>For example:</p><pre>import json</pre><pre>student_result = {<br>    &quot;name&quot;: &quot;Zacch&quot;,<br>    &quot;score&quot;: 4,<br>    &quot;total_questions&quot;: 5<br>}</pre><pre>with open(&quot;result.json&quot;, &quot;w&quot;) as file:<br>    json.dump(student_result, file, indent=4)</pre><p>This creates a file called result.json and writes the dictionary into it in JSON format.</p><p>The file will contain:</p><pre>{<br>    &quot;name&quot;: &quot;Zacch&quot;,<br>    &quot;score&quot;: 4,<br>    &quot;total_questions&quot;: 5<br>}</pre><p>The &quot;w&quot; means the file is opened for writing, while indent=4 makes the JSON easier to read.</p><p>This helped me understand that I can save information from a Python program into a file instead of only displaying it on the screen.</p><h3>Reading data back from a JSON file</h3><p>After saving the data, I can use json.load() to read the JSON file and convert its contents back into a Python object.</p><pre>import json</pre><pre>with open(&quot;result.json&quot;, &quot;r&quot;) as file:<br>    student_result = json.load(file)</pre><pre>print(student_result)</pre><p>The data is now available as a Python dictionary, so I can access individual values:</p><pre>print(student_result[&quot;score&quot;])</pre><p>Output:</p><pre>4</pre><p>Here, &quot;r&quot; means the file is opened for reading.</p><h3>What I learned from the four functions</h3><p>FunctionPurposejson.dumps()Converts a Python object into a JSON string.json.loads()Converts a JSON string into a Python object.json.dump()Writes a Python object into a JSON file.json.load()Reads a JSON file and converts its contents into a Python object.</p><p>The difference between these functions helped me understand not just how to use JSON, but what happens to the data at each stage.</p><p><strong>[Insert image here: Your JSON assignment showing the Python dictionary, JSON conversion, and the result. If you have it, include the JSON file you created and the code used to read it back.]</strong></p><h3>Learning About pip and Virtual Environments</h3><p>This week, I also learned about pip and virtual environments.</p><p>Before now, I mostly worked with Python’s built-in features. Learning about pip introduced me to how developers install additional packages to extend what Python can do.</p><p>For example, I used the following command to install NumPy:</p><pre>pip install numpy</pre><p>NumPy is a Python library used for numerical computing.</p><p>I also learned how to check the version of an installed package:</p><pre>python -m pip show numpy</pre><p>This helped me understand that installing a package and checking its version are two different things.</p><h3>Understanding virtual environments</h3><p>A virtual environment provides an isolated space for a Python project, allowing its packages to be managed separately from those of other projects.</p><p>For example, if two projects require different versions of the same package, separate virtual environments can help prevent conflicts.</p><p>I practised creating a virtual environment using:</p><pre>python -m venv .venv</pre><p>This creates a virtual environment in a folder called .venv.</p><p>I also learned how to activate it and install packages inside it.</p><p>This was another step toward understanding how Python projects are set up and managed beyond simply writing code.</p><p><strong>[Insert image here: Your VS Code terminal showing the virtual environment creation, activation, or NumPy installation.]</strong></p><h3>Understanding Exception Handling: Preparing for Errors</h3><p>One topic that made me think more carefully about how programs behave was exception handling.</p><p>I learned that a program can contain correct syntax and still encounter errors while running.</p><p>For example, imagine asking a user to enter their age. You expect a number, but the user enters a word instead.</p><p>Without proper handling, the program may stop unexpectedly.</p><p>Python provides try and except to help us handle certain errors and respond appropriately when something goes wrong.</p><p>Here is a simple example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*9nTHSQYBi44qzebOKy8skA.png" /></figure><p>If the user enters text that cannot be converted into an integer, Python raises a ValueError, and the except block handles it.</p><p>This topic reminded me that writing a program is not just about making it work when everything goes as expected.</p><p>It is also about thinking ahead and considering what might happen when a user makes a mistake or something unexpected occurs.</p><h3>My Practical Challenge: Building a Five-Question Math Quiz</h3><p>One of the practical tasks I worked on this week was the <strong>Math Quiz</strong>.</p><p>The task was to build a program that asks the user five random mathematical questions involving addition, subtraction, multiplication, and division, then keeps track of the correct answers.</p><p>At first, the task sounded simple. But when I started thinking about how to build it, I realised there were several things to consider.</p><p>How would the program generate random questions? How would it check whether an answer was correct? How would it keep track of the score?</p><p>I had to think about how to combine different concepts, such as variables, loops, conditions, and the random module, to make the program work.</p><p>The idea was to start the score at zero, ask five questions, check each answer, increase the score when the answer was correct, and display the final result.</p><p>What I found interesting was that a task that looked simple at first still required me to think through the steps needed to make the program work.</p><p>It helped me understand that building a program is not just about writing lines of code. It is also about breaking a problem into smaller steps and figuring out how those steps fit together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*QYxm0os6XPEBuUy1wAeUUw.png" /></figure><h3>What Week 3 Taught Me About Learning Python</h3><p>Looking back at everything I explored this week, I can see that each topic introduced me to a different part of practical programming.</p><p>Modules helped me understand how to organise and reuse code.</p><p>Date and time operations showed me how Python can handle real-life calculations.</p><p>The math module helped me turn mathematical formulas into working programs.</p><p>JSON introduced me to structured data and how information can be converted, stored, and read back.</p><p>Pip and virtual environments helped me understand how Python projects are set up and managed.</p><p>File handling showed me how Python can work with stored information, while exception handling taught me to think about errors and how to prepare for them.</p><p>The Math Quiz challenge helped me bring several concepts together in one practical task.</p><p>But beyond the topics themselves, I think the biggest lesson for me was learning to approach problems with more patience.</p><p>Sometimes, an assignment looks simple until you actually sit down to solve it. You may understand what the task is asking, but still need time to figure out how to approach it.</p><p>I am beginning to understand that this is part of the process.</p><p>When something doesn’t work, I need to slow down, check what I have written, understand the error, and keep trying.</p><p>I am still learning how to think through problems and turn what I know into something useful. I know I have a long way to go, but I am gradually becoming more comfortable with the process.</p><h3>Conclusion: Still Learning, Still Building</h3><p>Week 3 of my DataRaFlow journey was another step forward.</p><p>I explored modules, date and time, mathematics, JSON, pip, virtual environments, file handling, exception handling, and an introduction to SQL.</p><p>Each topic helped me understand a little more about how Python works beyond the basics and how different concepts can be used to solve practical problems.</p><p>I am learning that becoming a good programmer is not just about memorising syntax or completing assignments. It is about understanding problems, finding ways to solve them, learning from mistakes, and practising consistently.</p><p>I may not be where I want to be yet, but I am making progress, one concept and one challenge at a time.</p><p>And that is what keeps me going.</p><p><strong>Week 3 complete. The journey continues.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a3f6583189b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Thought Learning Python Was Enough Until I Had to Build Something DataRaFlow Week2]]></title>
            <link>https://medium.com/@aladezaccheous52/i-thought-learning-python-was-enough-until-i-had-to-build-something-dataraflow-week2-f2a1fabf80a0?source=rss-6f47a95703a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2a1fabf80a0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Alade Zaccheous]]></dc:creator>
            <pubDate>Sun, 20 Sep 2026 09:36:25 GMT</pubDate>
            <atom:updated>2026-09-20T10:11:53.118Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XQvfPcO1n0EB-wdMABt0jQ.png" /></figure><p>My DataRaFlow Week 2 experience with OOP, inheritance, polymorphism, iterators, and the reality of solving programming problems.</p><p>When I first started learning Python, I thought understanding the syntax was the main thing I needed. Learn the rules, practice the examples, and gradually everything would become easier.</p><p>But Week 2 of my DataRaFlow journey started changing that mindset.</p><p>I began to realize that knowing a programming concept and using that concept to solve a problem are two different things.</p><p>Week 1 felt like preparation. I was getting familiar with Python and learning the basics. <strong>Week 2</strong> felt different because I had to start combining what I had learned to build practical programs.</p><p>And that was where the real learning began.</p><h3>The Bank Account Challenge: I Thought It Was Simple</h3><p>One of the tasks I worked on was creating a bank account using Python classes.</p><p>When I first saw the challenge, I thought it was simple. I already understood what a bank account was. I deposit money, withdraw money, and check my balance. These are everyday activities.<br>So, I initially felt like I could just start writing the code.<br>But then I paused and asked myself:<br>How does a bank transaction actually work, and how can I build that process using Python?<br>That was where the problem started.<br>I understood the activity in real life, but I had to figure out how to represent it in code. What attributes should the account have? What methods should I create? How should the balance change after each transaction?</p><p>I didn’t immediately have a perfect answer, so I skipped the task and continued with some of my other exercises. After completing some of them, I came back to the bank account challenge with a different approach.</p><p>I imagined myself depositing money into my account. My balance should increase. If I withdrew money, the balance should decrease. If it was a savings account, I could calculate interest and add it to the balance.</p><p>These were simple things I performed in everyday life, but turning them into a program required me to break them down into smaller steps.</p><p>That became one of my biggest lessons from the exercise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*d-IRXDXEzmoxYGsQbfP-8w.png" /></figure><h3>Turning an Everyday Activity Into Code</h3><p>I started by writing down the classes and methods I needed.</p><p>I created a BankAccount class with attributes for the account owner and balance. I also created methods for depositing and withdrawing money.</p><p>Then I created a SavingsAccount class that inherited from BankAccount. This class added an interest rate and an add_interest() method.</p><p>Using inheritance meant I didn’t have to repeat the account information already defined in the parent class. I could build on what I had created.</p><p>I also practiced using super():</p><pre>super().__init__(owner, balance)</pre><p>This allows the child class to call the initializer of its parent class.</p><p>The interest calculation helped me understand how an object’s attributes could be used inside a method:</p><pre>interest_rate = self.balance * self.interest_rate / 100<br>self.balance += interest_rate</pre><p>The first line calculates the interest based on the current balance. The second line adds the interest to the balance.</p><p>For example, if the balance is $23,000 and the interest rate is 10%, the interest will be $2,300, making the new balance $25,300.</p><p>What I found interesting was that I wasn’t just writing a mathematical formula. I was using the balance stored inside an object and changing it through a method.</p><p>That helped me understand how attributes and methods work together in Object-Oriented Programming.</p><h3>Inheritance: Reusing What I Had Already Created</h3><p>Another exercise involved creating a vehicle structure.</p><p>I created a Vehicle class with attributes such as brand and model. Then I created a Car class that inherited from Vehicle and added the number of doors.</p><p>Finally, I created an ElectricCar class that inherited from Car and added battery capacity.</p><p>The structure was:</p><pre>Vehicle<br>   |<br>  Car<br>   |<br>ElectricCar</pre><p>This exercise helped me understand inheritance as more than just a way to reuse code.</p><p>A car is a type of vehicle, and an electric car is a type of car. Because of this relationship, the child classes can inherit common features from their parent classes.</p><p>I also practiced overriding the display_info() method so that the electric car could display information specific to itself.</p><p>One thing I began to understand is that inheritance helps us organize related classes in a meaningful way. Instead of writing the same attributes repeatedly, we can define shared features in a parent class and extend them when needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*GxfvFkc6IfDx7IRqdQ5vjw.png" /></figure><h3>Polymorphism: Same Method, Different Behaviour</h3><p>I also practiced polymorphism using animal classes.</p><p>I created an Animal class and then created Dog and Cat classes that inherited from it. Both child classes used the same method name, make_sound(), but they produced different outputs.</p><p>The dog produced Woof!, while the cat produced Meow!.</p><p>I then used a loop:</p><pre>for x in (animal, dog1, cat1):<br>    x.make_sound()</pre><p>What interested me was that I could use the same method call for different objects, and each object behaved according to its own class.</p><p>This made polymorphism easier to understand than simply memorizing its definition.</p><p>I also experienced an indentation mistake while practicing. A function that was supposed to be used outside a class was placed inside a class because of its indentation.</p><p>That reminded me that Python indentation is not just about making code look neat. It affects the structure and meaning of the program.</p><p>Sometimes, a small mistake in the way code is arranged can change how the whole program behaves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*yYJLOvESv4ItKwyzKj41Aw.png" /></figure><h3>FileLineReader: A Small Error That Gave Me a Headache</h3><p>The FileLineReader exercise was another experience that helped me understand the importance of paying attention to details.</p><p>The task involved creating a class that could read a text file one line at a time. I used __iter__(), __next__(), and readline() to build the iterator.</p><p>But before I could properly understand how the program worked, I had a question:</p><p>Where will the file come from? How will Python know what to read inside the file?</p><p>I didn’t understand everything immediately. I had to think about the relationship between the filename I provided and the actual text file Python was supposed to open.</p><p>While attempting the exercise, I wrote the filename without the correct file extension. Instead of providing the complete filename, I used something like:</p><pre>reader = FileLineReader(&quot;sample&quot;)</pre><p>I forgot to include .txt.</p><p>That small mistake caused an error, and I started looking for where the problem was. At one point, I felt like deleting everything and starting again.</p><p>But I realized that deleting the whole program was not necessarily the best approach. The better approach was to keep investigating the error until I understood what was wrong.</p><p>I checked the filename, reviewed the code, and went back to the DataRaFlow documentation. Eventually, I discovered that the file extension was missing.</p><p>A small mistake had given me a serious headache.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*qAbHxetKi8Di-dmLvYm78g.png" /></figure><p>The exercise taught me something important about debugging. When a program doesn’t work, starting over immediately may not help me understand the actual problem. Sometimes, I need to slow down, check the details, read the error message, and investigate one possibility at a time.</p><p>The problem wasn’t necessarily the entire program. It was a small detail in the filename.</p><p>That experience made the idea of debugging feel more practical to me.</p><p>The output from the program showed that the file could be read line by line:</p><pre>my name is zacch<br>I&#39;m learning Python<br>I&#39;m Participating in Dataraflow Cohort 2</pre><p>I was not just learning how to write an iterator. I was also learning how files, filenames, methods, and errors connect when building a working program.</p><h3>What Week 2 Is Teaching Me About Problem-Solving</h3><p>The biggest lesson I am taking from Week 2 is that programming is not just about knowing syntax.</p><p><strong>Syntax gives us</strong> the rules for writing Python, but it doesn’t automatically tell us how to solve a real-world problem.</p><p>The bank account task made this clear to me. I knew what depositing and withdrawing meant, but I still had to think about how to represent those actions using classes, attributes, and methods.</p><p>The FileLineReader task taught me something similar. I knew I wanted to read a file, but I had to understand how the filename connected to the actual file and why a missing extension could cause an error.</p><p>These experiences are pushing me to develop a habit of critical thinking.</p><p>Instead of rushing into code, I am beginning to ask:</p><ul><li>What exactly am I trying to build?</li><li>What information do I need?</li><li>What actions should the program perform?</li><li>How can I break the problem into smaller parts?</li><li>What should I check if the program doesn’t work?</li></ul><p>I am still developing this habit, but I am beginning to understand why it matters.</p><p>Sometimes, I may not lack the ability to solve a problem. I may simply need to spend more time understanding the problem and breaking it down.</p><h3>Learning Through Practice, Not Just Tutorials</h3><p>One thing I appreciate about the <strong><em>DataRaFlow</em></strong> materials is that they encourage me to do more than watch tutorials.</p><p>When watching someone write code, everything can look easy because the person already knows what to do. You can follow the explanation and feel like you understand the concept.</p><p>But when you open your editor and try to solve a task yourself, the experience changes.</p><p>You have to decide what to write, how to structure it, and how to connect the different parts. Sometimes, you understand the explanation but still don’t know where to begin.</p><p>That is the kind of experience I started having during <strong><em>Week 2.</em></strong></p><p>The provided materials give me a direction, but the practice requires me to participate. I have to read, understand, write, test, and troubleshoot.</p><p>Sometimes, I look at a task and think it will be easy. Then I start working on it and realize, “Eeee… this is hard ooo.”</p><p>But I am beginning to understand that this is part of learning to build.</p><h3>What I Learned From Week 2</h3><p>Technically, I practiced <strong>Object-Oriented</strong> <strong>Programming</strong>, <strong>inheritance</strong>, <strong>polymorphism</strong>, <strong>iterators</strong>, and <strong>scope</strong>. I learned more about how classes can represent real-world objects, how child classes can inherit from parent classes, and how different objects can respond to the same method in different ways.</p><p>I also learned that debugging requires patience and attention to detail. A missing file extension, incorrect indentation, or a small structural mistake can prevent a program from working as expected.</p><p>Personally, I learned that I should not always rush into a task simply because it looks easy. Sometimes, I need to understand the scenario first and think about how to break it down.</p><p>I also learned that deleting everything and starting again is not always the best solution when I encounter an error. I need to practice investigating the problem and understanding why something went wrong.</p><p>I am still learning, but I am beginning to develop a more practical way of approaching programming.</p><h3>What Comes Next?</h3><p><strong><em>Week 2</em></strong> did not make me an expert in Python. I still have concepts to revisit, errors to understand, and many more tasks to complete.</p><p>But it changed the way I look at programming.</p><p>I am beginning to understand that learning Python is not only about knowing what a class, method, or loop means. It is also about learning when to use those concepts and how to combine them to solve a problem.</p><p>The bank account challenge showed me that everyday activities can still require serious thinking when I want to turn them into a program. The FileLineReader exercise reminded me that even a small mistake can create a problem, but investigating that mistake can teach me something valuable.</p><p>I am still figuring things out, and I don’t always get everything right on the first attempt.</p><p>But I am learning to approach problems differently: understand the task, break it down, write something, check the result, and keep working through the errors.</p><p><strong>I am gradually moving from asking, “What syntax do I need?” to asking, “How can I use what I know to solve this problem?”</strong></p><p>And for me, that is where the real journey begins.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2a1fabf80a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Didn’t Know Where I Was Going, But I Knew I Had to Start]]></title>
            <link>https://medium.com/@aladezaccheous52/i-didnt-know-where-i-was-going-but-i-knew-i-had-to-start-aadfab0e39bc?source=rss-6f47a95703a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/aadfab0e39bc</guid>
            <category><![CDATA[starting-over]]></category>
            <category><![CDATA[self-learning]]></category>
            <category><![CDATA[learning-through-stories]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Alade Zaccheous]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 20:32:06 GMT</pubDate>
            <atom:updated>2026-09-04T20:32:06.978Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How curiosity, confusion, self-learning, and a difficult Python assignment became another step in my tech journey</strong></p><p>I started my tech journey without really knowing what I wanted to do. I just had curiosity. I didn’t have all the resources I thought I needed, I didn’t have a perfect roadmap, and I didn’t even know which area of technology I would eventually focus on. I only knew that I wanted to learn something and somehow find my way in the technology space. I didn’t know exactly where I was going, but I believed I was going somewhere. Looking back now, I think that was enough reason to start.</p><h4><strong>I Was A Computer Science Student Who Couldn’t Really Explain What I Was Doing</strong></h4><p>I’m a Computer Science student, but there was a time when someone could ask me, <strong>“So, what exactly are you doing in tech?”</strong>, and I would barely know what to say. I could mention a few things I had tried, but I couldn’t confidently point to one skill and say, “This is what I do.” That feeling used to bother me. I would see people who seemed to know exactly what they wanted to become, while I was still trying to understand where I belonged.<br>But instead of making me stop, that feeling pushed me to learn more. The funny thing about technology is that the more you learn, the more you discover how much you don’t know. Every time I learned something new, another area appeared. Python led to web development, web development introduced me to other technologies, and then I started discovering data, databases, SQL, Power BI, AI, and many other things. Sometimes it felt like I was opening one door only to discover ten more doors behind it.</p><p>I also realized something about myself during this process: whenever I hear about something I don’t understand, my first instinct is to go back to the basics. I didn’t come into tech with previous professional skills or years of experience, so I have learned to start from the beginning. If someone introduces me to a new area, I don’t want to pretend that I understand it. I want to understand the foundation first and then build from there. It might make the journey slower sometimes, but I believe it gives me a better understanding of what I’m actually doing.</p><h4><strong>My Journey Wasn’t A Straight Line</strong></h4><p>My first serious step into programming was learning Python. I was curious about programming and wanted to understand how software was built, but at that point I didn’t have a clear idea of what I wanted to do with <strong>Python.</strong> After some time, I paused it and moved into web development. I started learning <strong>HTML, CSS, JavaScript </strong>and other parts of building websites. I enjoyed it and worked on different projects, but as I continued learning, I discovered another area that started making more sense to me: <strong>data</strong>.</p><p>What attracted me to data was the idea that information can actually tell a story. Raw data by itself might look like rows and columns, but when you analyze it properly, you can find patterns, answer questions, understand problems and provide information that can help people make better decisions. I became interested in the idea of using data to provide meaningful information that could be useful in the real world. That was when I started paying more attention to the data track.</p><p>Since I didn’t have everything, I needed around me, I started doing a lot of self-learning. I enrolled in Techcrush to learn Data Analytics, where I started working with Excel, Power BI and Basic SQL. My plan was to go deeper into SQL after my exams because I knew that SQL was something I wanted to become very comfortable with. I was slowly building my own direction, even though I still didn’t have the complete picture of where it would eventually lead me.</p><blockquote>Then DataraFlow happened.</blockquote><h4><strong>The Opportunity I Wasn’t Planning For</strong></h4><p>Getting the opportunity to join DataraFlow was exciting, but honestly, it also came with a lot of uncertainty. I had already moved away from Python for a while, so I wasn’t exactly planning to start learning Python seriously again so soon. My mind was more focused on Data Analytics, Excel, Power BI and getting deeper into SQL after my exams. Then suddenly I found myself in an environment where Python was going to become part of my learning again.</p><p>The opportunity came at a time when I was still trying to figure myself out, and that made the beginning a little intimidating. During the orientation, I remember looking at everything ahead of me and thinking, <strong>“Can I actually do this?”</strong> There were moments when I felt like maybe this journey wasn’t for me. I even thought about dropping out, not because I didn’t want the opportunity, but because I could already see that I was going to be pushed outside what I was comfortable with.</p><p>But there is one thing I have learned about myself: <strong>I don’t like starting something and leaving it unfinished.</strong> Even when I don’t understand something, even when it becomes frustrating, and even when I feel like I’m not good enough, I always want to see how far I can go. That became one of my strongest motivations during the dataraFlow journey. I kept telling myself that I didn’t have to know everything immediately. I just had to keep moving.</p><blockquote><em>WEEK 1</em></blockquote><h4><strong>The Assignment and the Moment I Started Taking Python Seriously</strong></h4><p>The DataraFlow assessment was another moment that made me realize that learning programming is different from simply watching someone teach programming. You can watch a tutorial and understand everything the person is doing. You can even follow along and get the same output. But when somebody gives you a problem and says, <strong>“Now solve this yourself,”</strong> the experience suddenly becomes different.</p><p>The assessment made me think more independently. Instead of simply copying what I had seen in tutorials, I had to understand the problem, think about the steps needed to solve it, and then try to turn those steps into Python code. When something didn’t work, I had to investigate why. That process was uncomfortable at first, but it was also where I started learning how to actually solve problems.</p><p>It reminded me that programming isn’t just about memorizing syntax. You need to learn how to think. You need to break a big problem into smaller problems, understand what information you have, decide what you need to do with it, write the code, test it, see what goes wrong and then debug it. The assessment was one of those moments where I started seeing Python differently.</p><p>Then came the assignment.<br>And this one really tested me.</p><p><strong>The Assignment That Made Me Close My Laptop<br></strong>When I first saw the assignment, my immediate reaction was basically:</p><p><strong>“I can’t do this.”</strong></p><p>I looked at the questions and felt like they were beyond me. So what did I do?</p><p>I closed it.<br>I left it for a while, then opened it again. I looked at it another time and told myself, <strong>“Actually, this one is simple. I can do am.”<br></strong>So I started.</p><p>And after I started, my confidence quickly changed to:</p><p><strong>“Eeee… this is hard ooo.”</strong></p><p>But then I remembered something important. How could I confidently say that I couldn’t do something when I hadn’t even properly started? Maybe I didn’t know the answer yet. Maybe I didn’t know which Python concept to use. Maybe I would make mistakes. Maybe I would have to search for explanations and debug my code several times. But none of that meant I couldn’t eventually solve it.</p><p>I simply hadn’t started learning how to solve it yet.</p><p>So I started.</p><p>And I kept going.</p><blockquote><strong>The assignment had five tasks:</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ZfrWJ10QmUAkFqhEIT6QA.png" /></figure><p>Looking at them now, they don’t seem as frightening as they did when I first opened the assignment.</p><p>But each question introduced a different problem-solving challenge, and working through them helped me understand Python in a way that watching tutorials alone couldn’t.</p><h4><strong>1. Student Grades System</strong></h4><p>The first task was to write a program that accepts marks for five subjects, calculates the average, and displays the student’s grade. The grading system was A for 80–100, B for 60–79, C for 40–59 and F for anything below 40.</p><p>At first, I thought the task was simply about calculating an average, but then I realized that I also needed to make the program decide which grade to display based on the result. That meant I had to think about the logic behind the program and use conditional statements such as if, elif and else.<br> My approach was straightforward: first collect the marks from the user, then calculate the total, divide it by five to get the average, and finally compare the average with the grading ranges. In my head, I started breaking the problem down into small steps instead of looking at the whole question as one big problem. That made it easier to approach.</p><p>The challenge for me wasn’t necessarily typing the code. The bigger challenge was understanding how to translate the instructions written in normal English into instructions that Python could understand. I was beginning to realize that programming is less about typing quickly and more about thinking clearly.</p><p><strong>code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*_5c2Qk68tMl3yD3_Se437A.png" /></figure><h4><strong>2. Simple Calculator</strong></h4><p>The second task was to build a simple calculator that could perform addition, subtraction, multiplication and division based on user input. Compared with some of the other questions, this one looked easier, but I still had to think about how the program would know which operation the user wanted.</p><p>I had to collect the numbers, get the user’s choice of operation, and then use conditions to perform the correct calculation. One thing that also made me think more carefully was division by zero. I knew that if someone tried to divide a number by zero, Python would produce an error, so I had to consider how the program should handle that situation.</p><p>This was another small lesson for me: writing a program isn’t only about making it work when everything goes perfectly. You also need to think about what could go wrong and how your program should respond.</p><p><strong>code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*qj-EaeNoK8Dsq04VIPGWDQ.png" /></figure><h4><strong>3. Shopping Cart</strong></h4><p>The Shopping Cart task introduced me to a practical use of Python dictionaries. The instruction was to create a program where a user could add items to a shopping cart, with item names and prices stored in a dictionary, and then calculate the total cost.</p><p>Before this, I could explain that a dictionary stores information as key-value pairs. But there is a difference between being able to define something and actually using it. This assignment gave me a simple example of how a dictionary could represent something from the real world.</p><p>For example, instead of just having random dictionary values, I could have something like a product name as the key and its price as the value. Then I could work with those values to calculate the total cost of the items.</p><p>The challenge was understanding how to access the values stored inside the dictionary and use them in the calculation. It was another situation where I had to stop thinking about the code as something I was memorizing and start thinking about what I actually wanted the program to accomplish.</p><p><strong>code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*iJ0XNwmBb85qI4yhJON6GQ.png" /></figure><h4><strong>4. Guessing Game</strong></h4><p>The Guessing Game was one of the more interesting tasks for me because it felt more like an actual little program. The computer had to randomly select a number between 1 and 20, and the user had to keep guessing until they got the correct number. The program also had to give a hint when the guess was too high or too low.</p><p>This task brought several concepts together: random numbers, user input, conditions and loops. I had to think about how the program would continue running after an incorrect guess and, more importantly, what condition would eventually make it stop.<br> That was where I started seeing why loops are useful. Instead of writing the same instruction again and again manually, I could tell Python to keep doing something until a particular condition was met.<br> The challenge was not just knowing that a loop existed. I had to understand the logic behind the loop. When should it continue? When should it stop? What should happen after each guess? What should happen when the user finally gets the correct answer?</p><p>It was a simple game, but for someone still building their Python foundation, it was a good exercise in thinking through a complete process.</p><p><strong>code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*8u6uwuZqqML-E7PROEZ71w.png" /></figure><h4><strong>5. File Handling The One That Made Me Slow Down</strong></h4><p>Then came <strong>File Handling</strong>, and this one made me slow down again. The task was to accept a list of student names from the user, save them into a text file, and then read and display them.</p><p>What made this different from the other questions was that I wasn’t just working with information temporarily inside the program anymore. I had to think about storing information somewhere and accessing it again later.</p><p>The program needed to accept the names, open or create a text file, write the names into it, then open the file again, read the contents and display them. I had to understand the difference between writing to a file and reading from a file, and I also had to understand what was happening when the file was opened.</p><p>This was one of those areas where I had to stop and think instead of rushing to write code. I started asking myself questions like: Where is the information going? When am I writing it? When am I reading it? What happens if the file doesn’t exist? How does Python know which file I want to work with?</p><p>I didn’t know all the answers immediately, but I worked through them. And that process was actually more valuable than simply getting the final code.</p><p><strong>code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*84n6fWZBg_TrBD-ijoF4qw.png" /></figure><h4><strong>What Changed After the Assignment?</strong></h4><p>I didn’t suddenly become a Python expert after completing the assignment.</p><p>I’m still learning.</p><p>I still get stuck.</p><p>I still make mistakes.</p><p>I still have moments where I look at a problem and think, <strong>“How am I supposed to do this?”</strong></p><p>But something has changed.</p><p>I’m becoming less afraid of the blank screen.</p><p>Before, when I saw a difficult problem, my first thought could easily be, <strong>“I don’t know how to do this.”</strong> Now, I’m starting to change that thought to, <strong>“I don’t know how to do this yet. Let me break it down.”</strong></p><p>That difference might look small, but for me, it is a big step.</p><p>The assignment also made me realize that I can learn by actually doing. I didn’t have to watch ten more tutorials before I could start. Sometimes I just needed to start writing code, encounter a problem, understand the error, look for an explanation, make a correction and try again.</p><p>That was how I started learning what Python actually contains instead of only knowing Python from the outside.</p><p><strong>I Still Don’t Know Exactly How I’m Getting There</strong></p><p>Today, I have a better understanding of where I want to go than I did when I started. I know that I want to continue developing my skills in Python and Data, and I want to eventually move deeper into AI. But if you ask me exactly how I’m going to get there, I honestly don’t have the complete answer.</p><p>And I’m okay with that.<br> I used to think I needed to know the entire roadmap before I could start moving. Now I’m beginning to understand that sometimes you only need to know the next step. Learn Python. Practice. Learn SQL. Work with data. Build projects. Make mistakes. Fix them. Learn something new. Build again. Repeat.</p><p>Maybe the path will change along the way. Maybe I’ll discover another area that I become interested in. Maybe some things I think are important today will not be as important tomorrow. But I don’t want uncertainty about the final destination to stop me from taking the next step.</p><p><strong>This Is Only the Beginning</strong></p><p>When I look back at where I started, I don’t see someone who had everything figured out. I see a Computer Science student who was curious, confused, and trying to find his way. I started discovered Data Analytics, started learning Excel, Power BI and SQL, and then found myself returning to Python through an opportunity I wasn’t even planning for.</p><p>It hasn’t been a straight line, and I don’t think it needs to be.</p><p>There have been moments when I’ve felt behind. There have been moments when I’ve compared myself with people who seem to understand things faster. There have been moments when I’ve wondered whether I am really capable of becoming the person I want to become.</p><blockquote>But every difficult moment has taught me something.<br>I am learning that you don’t always need confidence before you start. Sometimes <strong>confidence comes because you started.<br></strong>You don’t always need to know everything before attempting a difficult problem. Sometimes you learn what you need while trying to solve it.<br>And sometimes the biggest difference between giving up and making progress is simply opening the problem one more time.</blockquote><p><strong>Thank You, DataraFlow</strong></p><p>I am genuinely grateful for the opportunity to be part of DataraFlow. This opportunity came at a time when I was still trying to understand myself, my skills and the direction I wanted to take in technology. In a way, that made the experience even more valuable because it pushed me into an area I wasn’t completely comfortable with and forced me to learn by doing.</p><p>DataraFlow brought Python back into my journey sooner than I expected. It pushed me outside my comfort zone, challenged me with assessments and assignments, and gave me an environment where I could practice instead of only watching other people code. Most importantly, it gave me another reason to believe that not knowing something today doesn’t mean I can’t learn it tomorrow.</p><p>So, to everyone behind DataraFlow, <strong>thank you for this opportunity.</strong> Thank you for creating a platform where people like me can learn, make mistakes, ask questions, struggle through difficult tasks and continue growing. I may not know exactly what the end of this journey will look like, and I definitely don’t know how many more times I will look at an assignment and say, <strong>“Eeee… this is hard ooo.”</strong> But I know that I want to keep going.<br>But now I have a better idea of <strong>where I want to go.<br></strong>And that is enough for me to take the next step.<br>Because starting is important.<br>Learning is important.<br>But for me, <strong>finishing what I started matters a lot.<br></strong>No matter how far. No matter how rough.<br>No matter how many times I have to start again.</p><p><strong>I want to reach the finish line.</strong></p><p>And I hope that one day, when I finally get there, I can look back at this article and remember the version of myself who opened that Python assignment, thought <strong>“I can’t do this,”</strong> closed it, opened it again, said <strong>“I can do am,”</strong> started, struggled, debugged, learned, and kept going.</p><p><strong>This is only the beginning.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aadfab0e39bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>