How to execute a string of code in Python

By Ranjeet V

Hello everyone, in this tutorial, we will learn how to execute a string of code in Python. As input, we will give a string which will be a piece of Python code. Our aim is to execu.... Read More

Type inference in C++

By Ranjeet V

In this tutorial, we are going to learn about type inference in C++. Type inference actually means automatic deduction of the type of the variable we are using. In C++, we have met.... Read More

Reverse each word in a sentence in Python

By Ranjeet V

This tutorial will teach you how to reverse each word in a sentence in Python. For example, if a sentence is “CodeSpeedy is great”, our output should be– “y.... Read More

numpy.polyfit in Python

By Sai Prasanna

In this, we are going to see how to fit the data in a polynomial using the polyfit function from standard library numpy in Python. Suppose, if we have some data then we can use the.... Read More

numpy.linspace() in Python

By Sai Prasanna

In this tutorial, we are going to see the linspace() which is the built-in function in Python’s numpy library. linspace function and the range function are quite similar. Thi.... Read More

C++ isinf() function | check if given argument infinite

By Ranjeet V

C++ provides us with a built-in function isinf() that helps us determine whether a given argument is infinite or not. We will see some examples that explain the working of this fun.... Read More

Access Google calendar data with Python

By Diptam Paul

Google allows everyone to create multiple private or public events or calendars in Google Calendar. So using the google calendar API’s you can create or manage those events i.... Read More

String decode() method in Python

By Nimish Bahuguna

In this tutorial, we will learn about the decode() method used in Python, therefore, we will also see an example to understand this concept of the string decode() method in Python.... Read More

Related Posts