Posts

Showing posts from March, 2025

Featured Post

Learn Python by Coding a Simple To-Do List in Python from Scratch

Image
Introduction This simple project in Python will not only teach you to build a simple ToDo List, but also assist you to learn basic Python concepts along the way! The basic concepts that you will be learning are about using the indefinite loop, that is, while True, how to stop the loop, if-elif-else loops, and also about creating a functional to do list in which the user is able to not only add items, but also, view items, update or edit them, remove items and also delete the entire list itself.  Please note this is Part 4 of my Python series. If you missed the algorithms and planning stages, check out Parts 1, 2, and 3 on my Substack! What We Want Our To do List to do Defining the Problem : Creating a storage space for storing the to do list grocery items that I want to shop. I want to make the list with a menu that shows a menu of choice with features such as Add, View, Edit, Remove, Delete and Exit options. So, I need a way to add items, view them, edit them, remove any of the it...

What does Print Function Do in Python

Image
What does Print Function Do in Python Introduction This Python beginner guide will explain you the basics of using the Python print() function as it is the most frequently used function in Python examples, excercises and also Python project. The print function helps us in displaying the output on the computer screen.   Printing numbers When you print numbers, be it an integer or a float, Python printing is quite simple, all you need to do is to use the print() function and write the required number inside the parenthesis. Look at the code given below: print(70) print(70.50) In both the above cases, we will be able to display the integer 70 and the float 70.50 on the screen as the output. All you need to type is just write the integer or float number inside the parenthesis of the print() function and you can get to see the output right away on the display screen of your code editor. Printing Booleans As you know already, booleans such as True o...