Control Statement in Python with examples

By GAURAV KUMAR SINGH

If, If-Else, While, Pass, Continue, Break are a few examples of the control statements in Python. These statements are used to control the sequence of the program execution hence c.... Read More

Loop through a JSON array in Python

By GAURAV KUMAR SINGH

In this tutorial, I will write a simple program to show you how to loop through a JSON array in Python. In order to do that, what we need is a sample JSON array. We will loop throu.... Read More

Combine two querysets in Django

By Khushi Aswani

Sometimes, we might need to combine two querysets in Django even from different models to execute a certain condition. In this tutorial, we will try to combine queryset using Djang.... Read More

How to overwrite a file in Java

By Abhi Tiwari

Can we overwrite a file using Java? Yes! In this blog, you will learn how to overwrite a file in Java using java.io.FileWriter class. Class FileWriter This class belongs to java.io.... Read More

How to find elements by class using BeautifulSoup

By Chaithanya Pranav Sai

In this tutorial, we are going to know how to find elements by class using BeautifulSoup. Finding elements in a class is done in two ways, either by knowing the class name or by th.... Read More

Difference between ‘endl’ and ‘\n’ in C++

By Ankur Sinha

In this tutorial, We are going to learn about endl and \n commands using C++. However, Both the commands are used for the same purpose i.e. To insert a new line. There is a subtle .... Read More

K-Nearest Neighbor Algorithm in Python

By Kanduri Jayanth Sri Ram

In this tutorial, we will learn about one of the supervised Machine learning techniques (i.e) K-Nearest Neighbor Algorithm from scratch in Python. It is mainly used for classificat.... Read More

How to create multiple Selection Checkboxes in Tkinter Python

By Manam Sampath Kumar Reddy

In this tutorial, we will learn about multiple selection checkboxes in Tkinter using Python. Tkinter is an open-source library in Python that is used for Graphical User Interface.... Read More

Related Posts