Python | Bubble sort program Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are not in the right order. This is an example for bubble sort …

Last updated 1 week, 5 days ago | 49 views

Tags:- Python

Python | Program to find factorial of a number using recursive function This is an example of how to find the factorial of a number in python using a recursive function. The factorial of a …

Last updated 1 week, 5 days ago | 28 views

Tags:- Python

Python | Program to find factorial of a number This is an example of how to find the factorial of a number in python. The factorial of a number is a product of all the positive …

Last updated 1 week, 5 days ago | 35 views

Tags:- Python

Python | Create an empty class In python, it required adding a pass statement to define an empty class. The pass is a special statement in python that does nothing. It just works as a dummy statement.   …

Last updated 1 week, 6 days ago | 37 views

Tags:- Python

Python | Check whether the given value is palindrome or not This is an example of how to check whether the given value is palindrome or not. It takes input from the user to check …

Last updated 2 weeks ago | 45 views

Tags:- Python

Python | Check whether the given number is a prime number or not This is an example of how to check whether the given number is a prime number or not. It takes an input …

Last updated 2 weeks ago | 38 views

Tags:- Python

Python | Print  Triangle pyramid pattern This is an example of how to print the Triangle pyramid pattern. It takes an input number from the user to print the number of rows for the pattern.  n …

Last updated 2 weeks ago | 39 views

Tags:- Python

Python | Fibonacci series This is an example of how to print the Fibonacci series. It takes an input number from the user to print the Fibonacci series. The Fibonacci series is a sequence of …

Last updated 2 weeks, 3 days ago | 54 views

Tags:- Python

Python | Print prime no between 1 to 100 This is an example of how to print all prime numbers between 1 and 100 using for loop. A prime number is a natural number greater …

Last updated 2 weeks, 3 days ago | 51 views

Tags:- Python

Python | Encrypt and Decrypt using AWS KMS key in python with boto3 This is an example of how to encrypt and decrypt a text using the AWS KMS key. In this, we will use …

Last updated 2 weeks, 6 days ago | 62 views

Tags:- Python Boto3 AWS KMS

Python | Get an AWS KMS Key description in python with boto3 The describe_key() function is used to get the key description. It takes KeyArn and returns a dictionary having KeyMetadata. These are some necessary items …

Last updated 2 weeks, 6 days ago | 58 views

Tags:- Python Boto3 AWS KMS

Python | get all keys from AWS KMS in python with boto3 This is an example of how we can get all the CMK(Customer Master Key) from AWS KMS.  To get all keys from AWS …

Last updated 2 weeks, 6 days ago | 47 views

Tags:- Python Boto3 AWS KMS

Django | Delete records in Django models Delete query performs an SQL delete query on all rows in the queryset and returns the number of objects deleted and a dictionary with the number of deletions …

Last updated 1 month, 3 weeks ago | 118 views

Tags:- Django

Git add | add files to git This command adds the working directory changes to the staging area. It allows to include the updates to a particular file in the next commit. Git add doesn't affect …

Last updated 2 months, 3 weeks ago | 106 views

Tags:- Git

Git init | Initialize a local Git repository The git init command creates a new Git repository in local. This is usually the first command you will run before working on a new project. git …

Last updated 2 months, 3 weeks ago | 104 views

Tags:- Git