Currency Converter in C++
In this article, we will build a simple program for Currency Converter in C++. The user will be able to convert currencies like Dollar, Euro,…
SQLite | CRUD Operations in Python
CRUD stands for Create Read Update Delete. I will show you how to perform CRUD Operations in Python. You need basic Tkinter and SQLite knowledge…
Number Guessing Game in C++
In this article, we will build a simple Number Guessing Game in C++. It’s a game in which the player has to guess a secret…
Image background remover in Python
Hello friends, in this article, we will learn how to create an Image background remover in Python. I will first show you a simple program…
C++ Project Structure
Hello everyone, have you ever wondered while looking inside a big C++ project structure what are these different folders, subfolders, and files used for? Especially…
Python | Check if a string is a palindrome or not without Recursion
To solve this problem, we have round about 6 methods. Let us take a look at how all these methods are applied. Method 1: Using…
Python | Check if a number is an Armstrong Number or not using Recursion
Output: Explanation: Here we passed the number to the function and we added a conditional statement to check if the number is zero then we…
Python | Check if a number is an Armstrong Number or not without using Recursion
Let us take a look at some methods using which we can solve this problem. Some of the methods that we are going to see…
Python | Shuffle a list using recursion
Here is the solution to shuffle list elements using recursion. We will go through all the methods available using which we can solve this problem….
Python | Shuffle a list without recursion
Let us now take a look at all the methods to solve the given problem. In the previous article, you might have seen that we…
Python | Implementing switch case using functions
Let us take an example to implement the switch case in Python. Method 1: Using case Output: Explanation: Here we took the input from the…
Python function to check whether a number is perfect or not
Method 1: Using for loop Output: Explanation: This first method is to use a for loop to iterate through all the divisors of the number…
Python | Find LCM using function
Let us take a look t methods that we have to find the LCM using functions Method 1: Using the divide operator Output: Explanation: Here…
Python | Find HCF using function
Let us take a look at all the different methods that we have to find the HCF using Python functions Method 1: Using for loop…
Python | Convert the binary number to decimal without using library function
In this article, we will be covering all the methods that we have to solve the given problem Method 1: Using a while loop Output:…
Python | Create a basic operations calculator(+, -, /, and x), create a separate function for each operation
Let us take a look at an approach to solving this problem statement. Explanation: Here in this part, we have defined various functions to handle…
Python | Detecting the number of local variables declared in a function
To calculate the number of local variables in a particular function we have a dedicated built-in function. Let us take a look at it Output:…
Python | Making a chain of function decorators (bold italic underline etc)
Output: Explanation: Here in this program, we defined three functions and in each function, we added the tags for bold, italic and underline respectively. A…
Python | Access function inside a function
Let us take a look at how this can be done in Python. Example 1: Explanation: We define inner functions—also referred to as nested functions—within…
Event Management System Project in Python
In this article, we will create Event Management System Project in Python with source code. Using this event management system, one can easily maintain ticket…