To learn any programming language you have to practice the programs, this is one of the best and faster way to learn programming language.

This webpage contains Python programs on various Python topics such as function programs in python, Conditional programs in python, loop programs using Python, etc. All the following Python programs are tested and provided with the output.

- Write a Python program to display the current date and time
- Write a Python program which accepts the radius of a circle from the user and compute area
- Write a Python program which accepts the user's first & last name and print in reverse order
- Write a Python program to accept a filename from the user and print the extension of file
- Write a Python program to display the examination schedule
- Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn
- Write a Python program to print the calendar of a given month and year
- Write a Python program to calculate the sum of three given numbers, if the values are equal then return thrice of their sum.
- Write a Python program to find whether a given number is even or odd
- Write a Python program to check whether a file exists
- Write a Python program to solve (x + y) * (x + y)
- Write a Python program to display your details like name, age, address
- Write a Python program to add two objects if both objects are an integer type
- Write a Python program to compute the greatest common divisor (GCD)
- Write a Python program to get the least common multiple (LCM)
- Write a Python program that will accept the base and height of a triangle and compute area
- Write a Python program to concatenate all elements in a list into a string and return it
- Write a Python program to test whether a passed letter is a vowel or not
- Write a Python to find local IP addresses using Python's stdlib
- Write a python program to sum of the first n positive integers
- Write a Python program to convert height (in feet and inches) to centimeters
- Write a Python program to convert the distance (in feet) to inches, yards, and miles
- Write a Python program Convert all units of time into seconds
- Write a Python program to Calculate body mass index
- Write a Python program to Calculate the sum of the digits in an integer
- Write a Python program to Concatenate N strings
- Write a Python program to Get the ASCII value of a character
- Write a Python program to Swap two variables
- Write a Python program to get the name of the host on which the routine is running
- Write a Python program to find postive or negative number
- Write a Python program to remove the first item from a specified list
- Write a Python program to input a number, if it is not a number generate an error message
- Write a Python program to filter the positive numbers from a list
- Write a Python program to sum of all counts in a collections
- Write a Python program to convert true to 1 and false to 0
- Write a Python program to remove and print every third number from a list of numbers until the list becomes empty
- Write a Python program to create the combinations of 3 digit combo
- Write a Python program to add two positive integers without using the '+' operator
- Write a Python program to find the median among three given numbers
- Write a Python program to find the number of notes (Sample of notes: 10, 20, 50, 100, 200 and 500 )

- Write a Python function to find the Max of three numbers
- Write a Python function to sum all the numbers in a list
- Write a Python function to multiply all the numbers in a list
- Write a Python function to reverse given string
- Write a Python function to calculate the factorial of a number
- Write a Python function to check whether a number is in a given range
- Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters
- Write a Python function that takes a list and returns a new list with unique elements of the first list
- Write a Python function that takes a number as a parameter and check the number is prime or not
- Write a Python program to print the even numbers from a given list
- Write a Python function that checks whether a passed string is palindrome or not
- Write a Python function that prints out the first n rows of Pascal's triangle
- Write a Python function to create and print a list where the values are square of numbers between 1 and 20
- Write a Python program to access a function inside a function

- Write a Python program to count the number of even and odd numbers from a series of numbers
- Write a Python program that accepts a word from the user and reverse it
- Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700
- Write a Python program to convert temperatures to and from celsius, fahrenheit
- Write a Python program to get the Fibonacci series between 0 to 30
- Write a Python program that prints all the numbers from 0 to 10 except 2 and 8
- Write a Python program that accepts a string and calculate the number of digits and letters
- Write a Python program to check the validity of a password
- Write a Python program to check whether an alphabet is a vowel or consonant
- Write a Python program to convert month name to a number of days
- Write a Python program to create the multiplication table (from 1 to 10) of a number
- Write a Python program to calculate the sum and average of n integer numbers. Input 0 to finish
- Write a Python program to find the median of three values
- Write a Python program to sum of two given integers. if the sum is between 15 to 20 it will return 20

22 June 2020 |3145 |
Written By: **Rohit Mhatre**

© 2020 Tech Study. All rights reserved | Developed by Tech Study| Privacy Policy | Sitemap