Posts from Python

Get Geolocation in Python using GeoPy

By Srijata Choudhuri

In this tutorial, we will learn how to get geolocation location in Python using some basic examples. Geolocation means geographic location. It uses various location technologies li.... Read More

Create an array from a .txt file in Python (Copy words from .txt file and put them as array elements)

By Varsha Neelamma

Well, in this tutorial, you will learn how to copy data from a .txt file and put them as array elements in Python. Python has become one of the most popular languages today for man.... Read More

Working of ‘+=’ operator in Python with examples

By Srijata Choudhuri

In this tutorial, we will learn the working of ‘+=’ operator in Python using some basic examples.’+=’ is a shorthand addition assignment operator. It adds t.... Read More

Nonlocal vs Global Keyword in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will see the basic purpose and use of nonlocal and global keywords in Python. We will also be able to differentiate them from this article. For Nonlocal and Gl.... Read More

How to use Python Raw Strings

By ANJANEYULU DEVARASETTY

In this tutorial, we will how to use Python Raw Strings with some simple examples. Raw Strings are introduced for not to escape any characters in the string. Actually, Python escap.... Read More

How to take float input in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will see how to take a float input in Python. Actually, there is a difference between Python 2 and Python 3 regarding float() input. In Python 2, we use float(.... Read More

Check if user input is a string or number in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will learn how to check if user input is a string or number in Python. We have some tricks to check user input. Type 1:  type(num) to check input type in Pyth.... Read More

Nested for Loop in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will discuss Nested for Loop in Python programming. Nested Loop: The Nested Loop is Loop that is inside another loop which is called the outer loop. There are .... Read More

Related Posts