# Monthly Archives: May 2021

## Python Count Each Vowel in Text File Program

Python Count Each Vowel in Text File Program – In this File Handling tutorial, we will discuss a Python File Program to show count of each vowel in the given text file. How This Program Works? First of all, we have to create a text file with name mytextfile.txt in a textfile folder of D… Read More » ## Python Four Function Calculator GUI Program

Python Four Function Calculator GUI Program – In this Python programming tutorial, we will discuss a Python GUI program to design a 4 function calculator. This Python 4 function calculator will perform addition, subtraction, multiplication and division of two real numbers. # Python GUI Program to # design 4 function calculator # for add, subtract,multiply… Read More » ## Python Area of Triangle With Three Sides Formula

Python Area of Triangle With Three Sides Formula – This Python program will input the three sides of a triangle. It will use the following formula to calculate the area of the triangle. Heron’s Formula The area of a triangle can be calculated by using Heron’s formula if we only know the length of all… Read More » ## Python Print Star Patterns 14 Programs

Python Print Star Pattern Shapes – In this Python Programming tutorial, we will discuss printing different star patterns, shapes, pyramids, triangles, squares etc using nested for loops. The Program Logic Normally we use nested for loops to print star shapes in Python. For example, the following Python program will need two nested for loops. The… Read More » ## Python Number Guess Game Project Made Easy

Python Number Guess Game Project Made Easy – In this Python Project for beginners we will explain the code and logic of the popular number guessing game program in Python programming language. How Python Number Guessing Project Works Import Python Modules :- random and math First of all we will include some Python modules which… Read More » ## Python Prime Factors Program

Python Prime Factors Program – This Python program will take a number as input from the user. It will display prime factors of that number. We will study prime factors before writing the Python program to find them. Definition of Prime Factor A factor that is a prime number is called a Prime Factor. We… Read More » ## Python Recursion With Example Recursive Function

Python Recursion With Example Recursive Function – In this Python tutorial we will learn the following important concepts about Recursion in Python Programming Language. What is Recursion? When to use Recursion? Advantages of Recursion Disadvantages of  using Recursion Recursive Function Base Case of Recursion Recursive Case for Recursion Factorial Recursive Function Identifying Base condition and… Read More » ## Array Numbers Factorials in C++

Array Numbers Factorials in C++. This is a C++ program using arrays and loops. This program will input five numbers in array. It will find factorials of each element of array and place them in a second array. How This C++ Program Works? 1. First of all declare required arrays and variables. int a,b,i,n,c; long… Read More » 