by Suf | Nov 25, 2021 | Programming, Python, Tips
List indexing is a valuable tool for you as a Python developer. You can extract specific values or ranges of values using indices or slices. You may encounter the TypeError telling you that the index of the list must be integers or slices but not strings. In this part...
by Suf | Nov 23, 2021 | Programming, Python, Tips
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()...
by Suf | Nov 21, 2021 | Python, Tips
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...
by Suf | Nov 19, 2021 | Data Science, Machine Learning, Python, Tips
Machine learning is the science of programming a computer to learn from different data and perform inference. Yesteryear, machine learning tasks involved manual coding all of the algorithms and mathematical and statistical formulae. Nowadays, we have fantastic...
by Suf | Nov 11, 2021 | Programming, Python, Research, Tips
Python has steadily risen in popularity among the ranks of programming languages, rivalling Java and C. Based on Github statistics, Python is the second most used language across publically accessible repositories in 2021. It is the third most used programming...