Python program Check Armstrong Number using for loop
Posted in allcategorites programs in python python simple programs

Python | Check Armstrong Number using for loop

An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits….

Continue Reading
Python | Factorial of a number using for loop
Posted in allcategorites programs in python python simple programs

Python | Factorial of a number using for loop

The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. The factorial…

Continue Reading
Create your own ChatGPT with Python
Posted in allcategorites general-python gui python projects programs in python python projects python simple programs python-short-tutorial

Create your own ChatGPT with Python

ChatGPT is a product of openai, currently ChatGPT is the most famous product of openai but there are many other products. In this article, we…

Continue Reading
Filter List in Python 10 methods
Posted in allcategorites programs in python python-short-tutorial

Filter List in Python | 10 methods

Filter List in Python is the process of selecting specific items from a list that meet certain criteria. This is a task that you will…

Continue Reading
Posted in allcategorites programs in python

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…

Continue Reading
Posted in allcategorites programs in python

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…

Continue Reading
Posted in allcategorites programs in python

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…

Continue Reading
Posted in allcategorites programs in python

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

Continue Reading
Posted in allcategorites programs in python

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…

Continue Reading
Posted in allcategorites programs in python

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…

Continue Reading