Posts

Showing posts from December, 2023

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 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 th...