Posts

Showing posts from October, 2023

Featured Post

BUILD A TODO LIST IN PYTHON

Image
Build a TODO List in Python 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. 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 . Initializing the list We initialize the todo list with an empty list as there are not items added yet to the list and this is represented in the code aby using an empty square braces   toDoList = [] Defining the print list  The def keyword is used to define a function in python. In the below code, we define the function called printList(). When we define

Build Rock Paper Scissors Game in Python

Image
Build  Rock Paper Scissors Game in Python                                                          INTRODUCTION  The Rock, Paper, Scissors game is a very game to build in Python for beginners to understand the basic concepts of python in a working method and also exciting to learn as this is a very fun game to play. I will be guiding you by writing step-by-step explanation and code with detailed explanations to make you actually live through the game of Rock, Paper, Scissors Game in Python. I will be explaining not only the technical aspects of the code, but also, the practical steps involved in the game, using logical analysis and insights of the players' moves, based on the concepts of the game. By doing code and analyzing code and building this fun project in Python, you will be able to understand this programming language in an easier and efficient way, such that you will fall in love with Python, I promise you ! CORE CONCEPTS OF THE GAME  Players playing this game are told to