In today's post, we'll look at how we can round a floating-point number down to the nearest integer in Python. Specifically, we'll be looking at the Python math.floor() function and the differences...
Category: Python Practice Questions
For today's practice question, we'll be writing a Python function that returns the greatest common divisor of a list of numbers. Here are some topics we'll cover in the post: How to find the...
In today's practice question, we are going to write a function that gives us all the occurrences of a certain substring in a string. Here are some topics we'll cover in this post: How to use...
Today's practice question requires us to write a Python function that converts uppercase vowels to lowercase. Here are some concepts we'll discuss in the post: How to convert lowercase...
Today's practice question requires us to write a Python function to find the square of a number. Here are some topics we'll cover in the post: Three ways to square a number in PythonHow to use...