Posts by Ranjeet V

Author Biographical Info: Not available

Graphs in Python using NetworkX

By Ranjeet V

It is very easy to construct and use graphs in Python using the NetworkX software package. This Python language software package makes it easy to create, manipulate and understand .... Read More

Quine in Python

By Ranjeet V

Hey everyone, this is an interesting tutorial about quine in Python. First, let’s try to understand what is quine. What is Quine? Quine is a program that does not take any in.... Read More

Print nth iteration of Lucas Sequence in Python

By Ranjeet V

We all know about the Fibonacci sequence. It is a sequence where any term is the sum of the previous two terms. The Lucas sequence is the same but with different starting values. W.... Read More

How to catch HTTP 404 error in Python

By Ranjeet V

Hi guys! In this tutorial, we will learn how to catch an HTTP 404 error in Python. There are many instances when we encounter an HTTP error with error code 404 on the internet. Thi.... Read More

Pure and Impure functions in C++

By Ranjeet V

This tutorial is about pure and impure functions in C++. In C++, functions that follow below conditions are said to be pure. They return the same value for the same argument passed.... Read More

round() function in Python

By Ranjeet V

In this tutorial, we will learn to use the round() function in Python. We use this function to round off any floating number to a given number of digits after the decimal point. If.... Read More

Faker Library in Python

By Ranjeet V

Faker Library in Python is used to generate fake data in our program. There are many methods defined in this library that we can use to produce a fake name, id, date, time, email, .... Read More

atexit() function in C++

By Ranjeet V

In this tutorial, we will learn about atexit() function in C++. This function is used to call a function that must be executed before the program terminates. Its working and usage .... Read More