Posts

Showing posts from 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 a Simple Exam Grade Calculator in Python

Image
 Build a Simple Exam Grade Calculator in Python INTRODUCTION This blog tutorial will teach you how to build a simple examination grade calculator using Python, in an easy to understand manner with full source code and in depth code explanation with detailed explanation so that you will also understand the main concepts of Python that are applied here to build this app. This Python tutorial is for absolute beginners who are learning Python and if you are in an advanced or intermediate phase of  doing Python, you may find it boring to learn this project! CORE CONCEPTS OF THE PROJECT Here, you are going to learn the steps involved in building an exam grade calculator app using Python and the main concepts of this project is having the following information, that is, what is the name of the examination or subject exam, what is the score of the candidate, what is the full score or total marks expected for the respective subject or examination and then, based on the exam score of the candida

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

Build Todo App React Hooks

Image
 Build Todo App React Hooks This tutorial will teach you how to build a To do list App using React, hooks, in a step-by-step manner with complete code and explanations of React hooks concepts in a very easy-to-understand manner. Below, I am displaying the code editor with the first part of the code for creating a Todo function for the javascript code: START THE APP import   React , { useState }  from   'react' ; import   ReactDOM   from   'react-dom' ; To start the App, you need to import React useState() from 'react' and also import ReactDOM from 'react-dom' By importing the useState() , we are able to use the state hook without the need to use classes in React apps. By importing the default ReactDOM, we are able to write JSX and carry out DOM related methods. But before that, as usual, for the html code, it is : HTML < div   id  =  "container" >   JAVASCRIPT  import   React , { useState }  from   'react' ; import   ReactDOM   fr