### Categories

### Archives

### Blog Stats

- 469,365 hits

### You can like us at

### Meta

# 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

Posted in Python
Tagged dijkstra's algorithm, dijkstras, python dijkstras algorithm, shortest path algorithm
Leave a comment

## 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

Posted in C, Java, Python
Tagged 16 x 16 sudoku solver, backtracking algorithm for sudoku solving, c sudoku solver, java sudoku backtracking, javascript sudoku solver, prolog sudoku solver, python sudoku solver, sudoku, sudoku game, sudoku puzzle solver, sudoku solver, sudoku solver algorithm, sudoku solver by logic, sudoku solver in java, sudoku solver recursion
Leave a comment

## 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

Posted in Python
Tagged class examples in python, is python program oriented, learn python, object oriented programming in python, object oriented programming python, object oriented python, python class examples, python classes, python language, python object oriented programmnig, python programming tutorial, python scripting, python training, python tutorial for beginners
Leave a comment

## 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

Posted in Python
Tagged functions in python, learn python, learn python online, learning python, Python, python -0.0, python -snake -monty, python built in function, python function, python functions, python language, python programming, python scripting, python tutorial, python tutorial example, python tutorial for beginners
Leave a comment

## 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

Posted in Python
Tagged create a python program that prints out the multiplication table for all, display that particular multiplication table in python, how do i program a multiplication table, how to write a multiplication table in python, how to write code for multiplication table, multiplication table program in c, multiplication tables program in python, program to print multiplication tables, Python, write a program table for 2 to 20 in python, write a python program for multiplication table
1 Comment

## 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

Posted in Python
Tagged largest prime number, palindrome program in python, prime number algorithm, prime number definition, prime number list, prime number logic, prime number program, prime number program in python, prime number program in python print 1 to 100, prime number program in python using for loop, prime number program in python using recursion, prime number using for loop in python, prime number using function in python, prime number using python, prime number using python program, prime number using recursion in python, prime number using while loop, program for prime number in python between 1 to 100, what is prime number
Leave a comment

## 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

Posted in Python
Tagged palindrome program in python using for loop, palindrome program in python using recursion, palindrome program in python using reverse method, palindrome program in python using string, palindrome program in python using stringbuffer, palindrome program in python using while loop, simple palindrome program in python, string palindrome program in python
Leave a comment

## 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

Posted in Python
Tagged program to find sum of digits in python, program to find sum of digits of a number in python, Python, python program to add digits of a number, python program to calcualte sum of digits of a given number, python program to find sum of digits of a number, python program to print sum of digits of a number, sum of digits, sum of digits in python, sum of digits of a number in python using while loop, sum of digits of given number, sum of digits of given number in python, write a python program to find sum of digits of a number
Leave a comment

## 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

Posted in Python
Tagged array in python, conditional loops in python, for loop in python example, for loop in python list, for loop in python shell, for loop in python using range, for loop syntax in python, Iteration in python, loops in python 3, python while loop, while loop in python dictionary, while loop in python example, while loop in python in reverse order, while loop in python list, while loop in python shell, while loop in python using range, while loop syntax in python
Leave a comment

## 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

Posted in Python
Tagged create if statement in python, if statement in python 3, if statement in python list comprehension, if statement in python with multiple conditions, nested if statements python, python ask for user input, python decision making, python input function example, python input string, python raw input syntax, python reading input, taking input in python
Leave a comment

## 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

Posted in Python
Tagged c program to print hello world, hello world in java, hello world in python windows, java program to print hello world, learn python, print hello world, python examples, python hello world example, python hello world example windows, python hello world main, python hello world script, python program tutorial, python tutorial, python tutorial example, python tutorial for beginners, sample hello world program in python
Leave a comment