# Category Archives: Python

## Dijkstras Alogrithm – Python

Dijkstras’s algorithm or shortest path algorithm is for finding the shortest path between two nodes in a graph which represents a map or distances between places. The algorithm requires 3 inputs: distance matrix, source node and destination node. The implementation … Continue reading

## Searching Algorithms Linear, Binary in Python

Two of the basic search algorithms are Linear search and Binary search. Linear search is very straight in it’s implementation. On the other hand, binary search is something which tries to reduce the time complexity of searching for any give … Continue reading

## Sudoku – Solver

After a long time I’m writing this post. Today, I would like to explain you one of my project which I have worked on. This my programming Languages project – A 16 X 16 Sudoku Solver with a Java Driven … Continue reading

## Python Insertion Sort

After learning about classes in python, today in this post we shall use those concepts in making insertion sort program. Insertion sort is one of the basic sorting techniques other than, bubble sort. It compares key element with the previous … Continue reading

## Object Oriented programming in python – Classes

Object Oriented programming or OOP’s concept in python is same as in any other language. Python is an object oriented language. The very same concept of classes and it’s objects as in Java can be implemented in Python. Let us … Continue reading

## Python Program to Check Armstrong Number

Python Program to Check Armstrong Number is one of the basic program in learning python programming language. The property of Armstrong number is, if the sum of the cubes of the digits of number is same as the given original … Continue reading

## Python Functions

Python Functions Functions plays an important role in simplifying the execution of a program. We can easily divide the work into different parts using functions. Main function will be in charge of calling each and every other function in the … Continue reading

## Python Program to Find Factors of Numbers

I’m writing this post after a longggg gap of about 9th months. Today, we shall learn how to write a python program to find factors of given number. For this, we need to take a number as input to the … Continue reading

## Python program to generate Multiplication table

In this tutorial we shall learn about generating multiplication tables.For this program we are taking twoo integer values as input’s.One for which table to be printed and the other for limiting the table….For generating the table we need to consider … Continue reading

## Prime number program in Python

In this post we shall learn about finding prime number program in python.If a number is only divisible by 1 and itself then that number is called as prime number.Otherwise it is not a prime number. The following program is … Continue reading

## Palindrome program in Python

In this post we shall learn how to find whether given number is a palindrome or not using python language.We have already seen palindrome program in C,C++,Java.By definition a number is called as palindrome if the reverse of the number … Continue reading

## Sum of digits of a number in Python

This gone be our second program in Python.We shall learn to write program to print the sum of digits of a given number.We have already seen the same program in C,C++,Java.Today we shall do the same in python. We all … Continue reading

## Loops in Python

Loops are we much useful to do a repeated set of work.For example, consider printing 1 to 10. In order to print without using loops we need to write the print statement 10 times.If we need to print 100 numbers,then … Continue reading

## Input and Decision Making Statements in Python

In this tutorial we shall learn about Input and Decision Making statements.To get the data from the user we need to use input statements.Input statement in python is variable_name = input(“Text_to_be_displayed”);.The input statement is a predefined function which has String … Continue reading

## Hello World in python

Today we are going to start learning new programming language Python.In recent time it gained popularity because of it’s simplicity and we can complete our program with in fewer lines of code.It is both interpreter and complied. It is developed … Continue reading