Python: Check if String Contains a Substring

In this Python Solutions post, you will learn the various ways to check if a string contains a substring. Checking for a substring is a common task in Python that you can use for conditional statements. We will explore with the use of the in Operator, the .index()...

Python Square Root Function

In this post, you will learn how to calculate the square root in Python. A square root is a standard mathematical operation you can use to solve quadratic equations or calculate the length of one side of a right-angled triangle. There are several ways of calculating...