Category Archives: Python Programming

Best Way to Learn Python

Hello fellows, have you ever confused that whether you should learn python or not. Maybe you decided to learn python but didn’t know where to start? So in this article we’ll guide you about the best way to learn Python. Why to learn python? There can be many reasons that can make you start to… Read More »

Python HashMap Implementation Using Dictionary

In this tutorial you’ll learn how to implement hashmap in python using dictionary. What is Hash Table or Hash Map? In short, Hash table is a data structure which stores data in an associative manner. In this table, our data is stored in a array format, where each data value have a unique key to… Read More »

Wikipedia API Python Tutorial

In this tutorial I’ll show you how we can implement Wikipedia API in Python to fetch information from a Wikipedia article. Let’s see how to do it. First we have to install Wikipedia. To install it, open your command prompt or terminal and type this command.

That’s all we have to do. Now we… Read More »

Python LCM – 2 Ways to find LCM

In this article, we’ll see different ways to find LCM in Python with program examples. Basically LCM is a smallest number that is divisible by both numbers (or all). Let us see how we can find lcm of two numbers in python. 1. Using Loop First we find the larger number of two given numbers.… Read More »

Python GCD – 4 Ways to Find GCD or HCF

Here I will show you 4 different ways to find GCD in Python using program examples. GCD also known as HCF (Highest Common Factor). So let’s see how we’ll do it. Method 1: Using Loop

Output: hcf = 12 So in this program, first we assign values to n1 and n2, then we’ll find… Read More »

Python Text to Speech Example

Here you will get python text to speech example. As we know, some people have difficulty reading large amounts of text due to dyslexia and other learning disabilities. Some people have basic literary levels. They often get frustrated trying to browse the internet because so much of it is in text form or on other… Read More »

How to Find Square Root in Python

Hello everyone, in this tutorial, I’ll show 3 ways to find square root in Python. Let’s see how to do it. 1. Using Exponent

Output: enter a number: 64 square root: 8.0 In above program, first we’re taking a number from user as input and the entered value will be converted to int from… Read More »

Caesar Cipher in Python

Hello everyone, in this tutorial you’ll learn about Caesar cipher in Python. If you have learned about cryptography then you should have known this term Caesar cipher. Well if you don’t know what is this then let me explain it to you. What is Caesar Cipher? In cryptography, Caesar cipher is one of the simplest and… Read More »