Posts Tagged with 'Python'

Python | lists, and tuples Lists and Tuples both are sequence data types that can store a collection of objects in Python. They are both heterogeneous data types means that you can store any kind of …

Last updated 1 year, 10 months ago | 481 views

Tags:- Python

PEP stands for Python Enhancement Proposal. A PEP is an official design document that describes new features proposed for Python and documents aspects of Python, like design and style, for the community. PEP 8 exists to …

Last updated 1 year, 10 months ago | 422 views

Tags:- Python

Interpreted language An Interpreted language executes its statements line by line. Languages such as Python, Javascript, R, PHP, and Ruby is a prime examples of Interpreted languages. Programs written in an interpreted language runs directly from …

Last updated 1 year, 10 months ago | 370 views

Tags:- PHP Python

Django rest framework  authentication error “ TypeError: 'type' object is not iterable ” This error comes because "authentication_classes" expecting an iterable(list/tuple) but somehow it is getting something else. So it needs to check a few …

Last updated 2 years, 11 months ago | 4724 views

Tags:- Python Django django-rest-framework

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 2 years, 12 months ago | 934 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 2 years, 12 months ago | 855 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 2 years, 12 months ago | 934 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 2 years, 12 months ago | 2187 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 3 years ago | 1065 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 3 years ago | 967 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 3 years ago | 1199 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 3 years ago | 839 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 3 years ago | 1866 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 3 years ago | 3384 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 3 years ago | 1422 views

Tags:- Python Boto3 AWS KMS