Posts

Showing posts from 2024

Featured Post

How To Use While Loops In Python

Image
How To Use While Loops In Python Overview  This beginners Python guide will explain the steps for working with 'while' loops in Python for beginners. Introduction  The Python while loops help to execute a set of statements in Python functions,  as long as a particular specified condition is True. Let us understand the while loop with a simple python example exercise, of a while loop usage, where we are trying to count numbers from 1 to 10, with a condition of the number being less than 10. We create a variable called num, and initiate it with a initial value of 1 and we carry out iteration of this num variable, whereby, it is incrementing every time it loops, by incrementing by 1.  Code num = 1 while num < 10 :       print(num)       num += 1 # output   1 2 3 4 5 6 7   8  9 In the above case, we performed iteration of the while loop where every time the loop iterates, the num variable gets incremented by 1 a...

BUILD A TODO LIST IN PYTHON

Image
Build a TODO List in Python|Python For Beginners  Overview The objective is to build a todo list to which we can add items, remove the added items, edit the items and even if required, delete out the entire list itself. We will learn here step by step, how to build the todo list with the above  CRUD (Create, Remove, Update/edit, and Delete ) features.  This is a CRUD list  app  that we are building as we can Create, Remove, Update items in the list and Delete the entire list itself. We will be using Python3 to build this Project. Introduction This Python project explanation is for beginners learning Python Programming. By doing this simple Todo list, you will learn several concepts of Python, such as while True loops, if-elif-else loops, for loop, adding, updating, removing items from a list , def() function, etc.  Importing os and time We import time to let the screen pause for a while before clearing  and we import os to clear the screen . Initializi...

Reminiscences Of My Early Coding Journey As A Beginner

Image
  A Beginner's Early Coding Journey                          Picture credits : Blue Retractable Pen by Lukas at Pexels  INTRODUCTION I have struggled several times and sometimeseven gave up on learning to code and here, I wish to write about my coding journey and all my struggles on how I managed to cross all the hurdles that came on my way! If I can do it, so can you! Through this blog post explaining my early coding phase as a beginner, I want to guide you to be successful in your coding journey, despite many early struggles in your early learning stages. When I first started out on learning to code, I did not even know what programming language I wanted to learn. Then, I realized that I love to explore websites and landing pages, so, why not learn how to code beautiful website designs and landing pages etc.? Then, I started browsing for free websites to learn web design and the first place that I searched was ...