-
PYTHON
In this tutorial, we will learn how to create a tabbed widget interface by using Python GUI and Tkinter package.The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both Tk and Tkinter are available on most Unix pla…
-
PYTHON
Python is an incredibly strong and flexible language used for multi-purpose programming. There are a lot of things possible using Python one of them is Text to Speech conversion.In this tutorial, we will go through the conversion of text to speech using …
-
PYTHON
Insertion SortInsertion sort is a popular shorting algorithm, similar to selection sort the unsorted list or array is divided into to two parts, left part being sorted which is initially empty and the right part being unsorted which at the very beginning…
-
PYTHON
Python is a versatile, dynamic object-oriented programming language created by Guido Van Rossum and first released in 1991.Object-oriented programming (OOP) allows programmers to create there own objects that have attributes and methods making the code m…
-
PYTHON
Functions are reusable a block of codes performing a specific task, they make the program more effective and modular.While defining a function in Python, we also specify the parameters it can accept which we later pass as arguments in function call.Howev…
-
PYTHON
Lists are probably the most used data type in Python. Lists being mutable offer a lot of flexibility to perform a number of operations on the items of the list.A list contains items separated by commas and enclosed within square brackets [ ]. Lists in P…
-
PYTHON
In a nutshell, sorting is nothing but arranging data in a particular fashion. Selection sort is a popular sorting algorithm.In Selection sort, First and foremost the list is divided into two parts left part being the sorted which is initially empty and r…
-
PYTHON
One of Python’s built-in immutable sequence types is range(). This function is extensively used in loops to control the number of types loop have to run. In simple words range is used to generate a sequence between the given values.The range() function c…
-
PYTHON
For any two positive integer number m and n, GCD ( greatest common divisor) is the largest integer number which divides them evenly.So for the following two numbers 8 and 12, 4 is the largest number which divides them evenly hence 4 is the GCD of 8 &…
-
PYTHON
A function is a block of organized, reusable code. Functions simplify the coding process, prevent redundant logic, and make the code easier to follow and allow you to use the same code over and over again.Creating clean, readable and reusable functions i…