## Python program to capitalize first letter of each words of a string

Python program to capitalize first letter of each words of a string : In this tutorial, we will learn how to capitalize the first letter of each words in a string. The user will enter the string. Our program will save it in a variable . Then using .title() method, we will convert the first […]

## Python program to check if a number is abundant/excessive or not

Python program to check if a number is abundant/ excessive number or not : In this tutorial, we will learn how to find if a number is abundant/excessive number or not using python. A number is called a abundant number or excessive number if the sum of all of its proper divisors is greater than […]

## Python program to take user input and check validity of a password

Python program to take user input and check validity of a password : In this tutorial, we will learn how to check the validity of a user input password in python. The user will enter one password and our program will check if it is valid or not. If not valid, it will ask the […]

## Python program to count the frequency of each words in a string

Python program to count the frequency of each words in a string : In this python tutorial,we will learn how to count the frequency of each words in a user input string. The program will read all words , find out the number of occurrence for each words and print them out. It also sorts […]

## Python print current date,time,hour,minute,increment each

Python program to print current date, time, hour, minute, and increment each : In this tutorial, we will learn how to print the current date , time and hour using python 3 . Also, how to increment the day, hour or minute to the current date. Let’s take a look : datetime module : We […]

## How to delete a key from a python dictionary

Python program to delete a key from a dictionary : In this tutorial, we will learn how to delete a key from a dictionary using python 3.The dictionary is given. We will ask the user to enter a key value that need to be deleted. The program will check if any member with that user […]

## Python program to find the first odd Abundant or excessive number

Python program to find the first odd Abundant or excessive number : In this tutorial, we will learn how to find the first odd Abundant number in python. A number is called Abundant or Excessive number if its sum of all proper divisors is more than the number itself. List of all abundant numbers from […]

## Python program to find larger string among two strings

Python program to find larger string among two strings : In this tutorial, we will learn how to find the larger string among two user input strings in python.The user will enter two strings, our program will read them both and without using any inbuilt function, it will calculate the length of each strings. Then […]

## Python program to count the total number of lines in a file

Python program to count the total number of lines in a file : In this tutorial, we will learn how to find the total number of lines in a file using python. We are using one hard-coded file name. But you can also get the file name from the user. The algorithm we are using […]

## Python program to print one identity matrix

Python program to print an identity matrix : In this tutorial,we will learn how to print a identity matrix in python. A matrix is called identity matrix if all of its digonal elements from upper left corner to bottom right corner is 1 and all other elements are 0. For example, following matrix are identity […]