Tech Study

Python

Python Numbers With Examples

Python Numbers In python, the number data types are used to store numeric values. Python supports three numeric data types: …

Read more

Python datetime (With Examples)

Python datetime Python has an inbuilt module known as datetime module to basically deal with the operations on dates and …

Read more

Python Examples

Introduction: Python Examples are the basic programming concepts of python like python syntax,python data types,,python operators,python if else,python comments etc.. …

Read more

Python Tuple With Examples

In this article, we are going to study Python Tuple with examples. Tuples in Python A sequence of elements with …

Read more

Python List (With Examples)

A Python List is used to Store various datatypes in a sequence. A list is a grouping of values or …

Read more

How To Print Hello World in Python

Introduction: Print hello world in python Python is an easy to learn programming language, which was developed in 1980 by …

Read more

250+ Python Programming Examples & Exercises with solutions

There is only one way to learn a new language, Practicing it day in and day out. In this article …

Read more

Python Map | Mapping Function in Python

Python map() – This method returns a map object(which is basically an iterator) of the results or answers after applying …

Read more

Python Random Module | Python random number

Python random number – Python has defined a set of functions or methods that are used to generate or modify …

Read more

Python Arrays | Python Array Tutorial

Python Array – Arrays are a fundamental, basic, and must-to-know data structure and an important part of most programming languages. …

Read more

Python Tutor | Online Python Tutorial

Python tutorial- Python is an object-oriented, interpreted high-level programming language along with dynamic semantics. Its high-level built-in data structures and …

Read more

Python range() Function with Examples

Python Range() – This function is used to return a sequence of numbers, for a given range. The common use of …

Read more

Python RegEx | Python Regular Expressions

Python RegEx allows you to create patterns that match particular strings, search for text within longer strings, and extract particular …

Read more

What is Python Programming?

Python programming- Python is an object-oriented, interpreted high-level programming language along with dynamic semantics. Its high-level built-in data structures and …

Read more

Python Operators with Examples

Python operator – Operators can be used to evaluate operations on variables and values. For example – Print(10+5) In this …

Read more

Python XOR | Python Bitwise Operators

Python xor – In Python, XOR is a bitwise operator which is also known as Exclusive OR. It is a logical operator which …

Read more

All Star Patterns in Python Programming Language

In Python, for loop, if loop, the input, and the print functions can be used to create  patterns in python …

Read more

Python Exercises: Solutions Example Programs With output

Python Exercises with Solutions: To learn any programming language you have to practice the programs, this is one of the …

Read more

List of python basic programs with examples

Write a Python program to display the current date and time Write a Python program which accepts the radius of …

Read more

Python programs to print alphabet pattern

In this article, we have explained the list of all alphabet pattern programs in Python programming language. I have used …

Read more

All Function programs in python with examples

In this article, we have explained the list of all alphabet function related programs in Python programming language. I have …

Read more

All Conditional and loop programs using Python programming Language

All Conditional and loop programs using Python programming Language. I have used python 3.7 compiler for debugging purpose. Write a …

Read more

Write a Python program to sum of two given integers. if the sum is between 15 to 20 it will return 20

Introduction Write a Python program to sum of two given integers. if the sum is between 15 to 20 it …

Read more

Python Program to Find Median of Values

Introduction Write a Python program to find the median of three values. I have used python 3.7 compiler for debugging …

Read more

Write a Python program to calculate the sum and average of n integer numbers. Input 0 to finish

Introduction Write a Python program to calculate the sum and average of n integer numbers. Input 0 to finish. I …

Read more

Write a Python program to create the multiplication table (from 1 to 10) of a number

Introduction Write a Python program to create the multiplication table (from 1 to 10) of a number. I have used …

Read more

Write a Python program to convert month name to a number of days

Introduction Write a Python program to convert month name to a number of days. I have used python 3.7 compiler …

Read more

Write a Python program to check whether an alphabet is a vowel or consonant

Introduction Write a Python program to check whether an alphabet is a vowel or consonant. I have used python 3.7 …

Read more

Write a Python program to check the validity of a password

Introduction Write a Python program to check the validity of a password. Validation At least 1 letter between [a-z] and …

Read more

Write a Python program that accepts a string and calculate the number of digits and letters

Introduction Write a Python program that accepts a string and calculate the number of digits and letters. I have used …

Read more

Write a Python program that prints all the numbers from 0 to 10 except 2 and 8

Introduction Write a Python program that prints all the numbers from 0 to 10 except 2 and 8. I have …

Read more

Write a Python program to get the Fibonacci series between 0 to 30

Introduction Write a Python program to get the Fibonacci series between 0 to 30. I have used python 3.7 compiler …

Read more

Write a Python program to convert temperatures to and from celsius, fahrenheit

Introduction Write a Python program to convert temperatures to and from celsius, fahrenheit. I have used python 3.7 compiler for …

Read more

Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700

Introduction Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 …

Read more

Write a Python program that accepts a word from the user and reverse it

Introduction Write a Python program that accepts a word from the user and reverse it. I have used python 3.7 …

Read more

Write a Python program to count the number of even and odd numbers from a series of numbers

Introduction Write a Python program to count the number of even and odd numbers from a series of numbers. I …

Read more

Write a Python program to access a function inside a function

Introduction Write a Python program to access a function inside a function. I have used python 3.7 compiler for debugging …

Read more

Write a Python function to create and print a list where the values are square of numbers between 1 and 20

Introduction Write a Python function to create and print a list where the values are square of numbers between 1 …

Read more

Write a Python function that prints out the first n rows of Pascal’s triangle

Introduction Write a Python function that prints out the first n rows of Pascal’s triangle. I have used python 3.7 …

Read more

Write a Python function that checks whether a passed string is palindrome or not

Introduction Write a Python function that checks whether a passed string is palindrome or not. I have used python 3.7 …

Read more

Write a Python program to print the even numbers from a given list

Introduction Write a Python program to print the even numbers from a given list. I have used python 3.7 compiler …

Read more

Write a Python function that takes a number as a parameter and check the number is prime or not

Introduction Write a Python function that takes a number as a parameter and check the number is prime or not. …

Read more

Write a Python function that takes a list and returns a new list with unique elements of the first list

Introduction Write a Python function that takes a list and returns a new list with unique elements of the first …

Read more

Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters

Introduction Write a Python function that accepts a string and calculate the number of upper case letters and lower case …

Read more

Write a Python function to check whether a number is in a given range

Introduction Write a Python function to check whether a number is in a given range. I have used python 3.7 …

Read more

Write a Python function to calculate the factorial of a number

Introduction Write a Python function to calculate the factorial of a number. I have used python 3.7 compiler for debugging …

Read more

Write a Python function to reverse given string

Introduction Write a Python function to reverse given string. I have used python 3.7 compiler for debugging purpose. def string_reverse(str): …

Read more

Write a Python function to multiply all the numbers in a list

Introduction Write a Python function to multiply all the numbers in a list. I have used python 3.7 compiler for …

Read more

Write a Python function to sum all the numbers in a list

Introduction Write a Python function to sum all the numbers in a list. I have used python 3.7 compiler for …

Read more

Write a Python function to find the Max of three numbers

Introduction Write a Python function to find the Max of three numbers. I have used python 3.7 compiler for debugging …

Read more

Write a Python program to find the number of notes (Sample of notes: 10, 20, 50, 100, 200 and 500 )

Introduction Write a Python program to find the number of notes (Sample of notes: 10, 20, 50, 100, 200 and …

Read more

Write a Python program to find the median among three given numbers

Introduction Write a Python program to find the median among three given numbers. I have used python 3.7 compiler for …

Read more

Write a Python program to add two positive integers without using the ‘+’ operator

Introduction Write a Python program to add two positive integers without using the ‘+’ operator. I have used python 3.7 …

Read more

Write a Python program to create the combinations of 3 digit combo

Introduction Write a Python program to create the combinations of 3 digit combo. I have used python 3.7 compiler for …

Read more

Write a Python program to remove and print every third number from a list of numbers until the list becomes empty

Introduction Write a Python program to remove and print every third number from a list of numbers until the list …

Read more

Write a Python program to convert true to 1 and false to 0

Introduction Write a Python program to convert true to 1 and false to 0. I have used python 3.7 compiler …

Read more

Write a Python program to sum of all counts in a collections

Introduction Write a Python program to sum of all counts in a collections. I have used python 3.7 compiler for …

Read more

Write a Python program to filter the positive numbers from a list

Introduction Write a Python program to filter the positive numbers from a list. I have used python 3.7 compiler for …

Read more

Write a Python program to input a number, if it is not a number generate an error message

Introduction Write a Python program to input a number, if it is not a number generate an error message. I …

Read more

Write a Python program to remove the first item from a specified list

Introduction Write a Python program to remove the first item from a specified list. I have used python 3.7 compiler …

Read more

Write a Python program to find postive or negative number

Introduction I have used python 3.7 compiler for debugging purpose.. I have used python 3.7 compiler for debugging purpose. num …

Read more

Write a Python program to get the name of the host on which the routine is running

Introduction Write a Python program to get the name of the host on which the routine is running. I have …

Read more

Write a Python program to Swap two variables

Introduction Write a Python program to Swap two variables. I have used python 3.7 compiler for debugging purpose. a = …

Read more

Write a Python program to Get the ASCII value of a character

Introduction Write a Python program to Get the ASCII value of a character. I have used python 3.7 compiler for …

Read more

Write a Python program to Concatenate N strings

Introduction Write a Python program to Concatenate N strings. I have used python 3.7 compiler for debugging purpose. list_of_numbers = …

Read more

Write a Python program to Calculate the sum of the digits in an integer

Introduction Write a Python program to Calculate the sum of the digits in an integer. I have used python 3.7 …

Read more

Write a Python program to Calculate body mass index

Introduction Write a Python program to Calculate body mass index. I have used python 3.7 compiler for debugging purpose. height …

Read more

Write a Python program Convert all units of time into seconds

Introduction Write a Python program Convert all units of time into seconds. I have used python 3.7 compiler for debugging …

Read more

Write a Python program to convert the distance (in feet) to inches, yards, and miles

Introduction Write a Python program to convert the distance (in feet) to inches, yards, and miles. I have used python …

Read more

Write a Python program to convert height (in feet and inches) to centimeters

Introduction Write a Python program to convert height (in feet and inches) to centimeters. I have used python 3.7 compiler …

Read more

Write a python program to sum of the first n positive integers

Introduction Write a python program to sum of the first n positive integers. I have used python 3.7 compiler for …

Read more

Write a Python to find local IP addresses using Pythons stdlib

Introduction Write a Python to find local IP addresses using Pythons stdlib. I have used python 3.7 compiler for debugging …

Read more

Write a Python program to test whether a passed letter is a vowel or not

Introduction Write a Python program to test whether a passed letter is a vowel or not. I have used python …

Read more

Write a Python program to concatenate all elements in a list into a string and return it

Introduction Write a Python program to concatenate all elements in a list into a string and return it. I have …

Read more

Write a Python program that will accept the base and height of a triangle and compute the area

Introduction Write a Python program that will accept the base and height of a triangle and compute the area. I …

Read more

Write a Python program to get the least common multiple (LCM)

Introduction Write a Python program to get the least common multiple (LCM). I have used python 3.7 compiler for debugging …

Read more

Write a Python program to compute the greatest common divisor (GCD)

Introduction Write a Python program to compute the greatest common divisor (GCD). I have used python 3.7 compiler for debugging …

Read more

Write a Python program to add two objects if both objects are an integer type

Introduction Write a Python program to add two objects if both objects are an integer type. I have used python …

Read more

Write a Python program to display your details like name, age, address

Introduction Write a Python program to display your details like name, age, address. I have used python 3.7 compiler for …

Read more

Write a Python program to solve (x + y) * (x + y)

Introduction Write a Python program to solve (x + y) * (x + y). I have used python 3.7 compiler …

Read more

Write a Python program to check whether a file exists

Introduction Write a Python program to check whether a file exists. I have used python 3.7 compiler for debugging purpose. …

Read more

Write a Python program to find whether a given number is even or odd

Introduction Write a Python program to find whether a given number is even or odd. I have used python 3.7 …

Read more

Write a Python program to calculate the sum of three given numbers, if the values are equal then return thrice of their sum.

Introduction Write a Python program to calculate the sum of three given numbers, if the values are equal then return …

Read more

Write a Python program to print the calendar of a given month and year

Introduction Write a Python program to print the calendar of a given month and year. I have used python 3.7 …

Read more

Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn

Introduction Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn. I have used python …

Read more

Write a Python program to display the examination schedule

Introduction Write a Python program to display the examination schedule. I have used python 3.7 compiler for debugging purpose. exam_start_date …

Read more

Write a Python program to accept a filename from the user and print the extension of that file

Introduction Write a Python program to accept a filename from the user and print the extension of that file. I …

Read more

Write a Python program which accepts the user’s first and last name and print them in reverse order

Introduction Write a Python program which accepts the user’s first and last name and print them in reverse order. I …

Read more

Write a Python program which accepts the radius of a circle from the user and compute the area

Introduction Write a Python program which accepts the radius of a circle from the user and compute the area. I …

Read more

Write a Python program to display the current date and time

Introduction Write a Python program to display the current date and time. I have used python 3.7 compiler for debugging …

Read more