How to remove decimal numbers in Python [5 Examples]

Remove decimal numbers using int() function in Python

Do you want to learn how to remove decimal numbers in Python? You have come to the right place. In this Python tutorial, I will describe the different methods to remove decimal numbers in Python with some illustrative examples. Keep reading this Python article to learn how to remove decimal numbers with different methods. Python …

Read more…

Increment and Decrement operators in Python [6 Examples]

increment in python

In this Python article, I will explain what is increment and decrement operators in Python. I will also explian the difference between increment and decrement operator in Python. In many programming languages like C, C++, and Java, there are operators known as increment and decrement operators (++ and –) which are used to increase or …

Read more…

Tensorflow Gradient Descent in Neural Network

Building Gradient Descent Algorithm using Python

As a TensorFlow beginner, you must understand TensorFlow gradient descent in Neural Networks. In this TensorFlow tutorial, I will explain how the gradient descent algorithm works with a simple example. Then, slowly, I will build your concepts about gradient descent by explaining how it helps improve the prediction performance of the neural networks or machine …

Read more…

Tensorflow Activation Functions

Tanh Activation Function in TensorFlow

While configuring the artificial neural network or machine learning model, you usually specify the tensorflow activation function for the layers. If you are a beginner and want to know, at a deep level, what activation functions are?. In this TensorFlow tutorial, I will explain everything about the TensorFlow activation function, like their use, type, and …

Read more…

How to check if an object is iterable in Python? [4 Methods]

How to check if an object is iterable in Python

An iterable in Python is an object containing a sequence of elements that can be iterated using a simple for loop. Lists, integers, strings, and dictionaries are examples of such objects. In this Python article, I will demonstrate how to check if an object is iterable in Python with various methods and illustrative examples. I …

Read more…

How to Sort a List of Lists in Python [6 Methods]

How to sort a list of lists in Python

Are you looking to sort a List of Lists? In this Python tutorial, I will explain “how to sort a list of lists in Python” with six different methods. While working on one project related to the Python matrix, I had to sort a large amount of data in the nested list (list of lists). …

Read more…

How to Capitalize Alternate Letters in a String in Python [8 Ways]

Alternate the case of each letter in a given string in Python

Are you interested in capitalizing alternate letters in your Python strings? This Python tutorial will explore five different methods to capitalize alternate letters in a string in Python. Capitalizing alternate letters in a string is a part of text processing. We’ll see different Python techniques, such as string manipulation, list comprehensions, regular expressions, and more, …

Read more…