In today's post, we'll look at two ways to calculate the nth term of a Fibonacci sequence in Python. We'll also work on a practice question that requires us to write a function to display the...
Posts by Jamie
In today's post, we'll discuss 4 different ways to clear a list (i.e. delete all the items in the list) in Python. We'll also work on a practice question that requires us to write a function that...
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...
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...