max() function in Python

In today's post, we'll talk about the max() function in Python. We'll also work on a practice question that accepts a list and returns a new list with certain maximum values removed. Here are...

e (Euler’s number) in Python

In today's post, we'll look at two different methods to get the value of e (a.k.a. Euler's number) in Python. For our practice question, we'll work on a function for evaluating Mathematical...

Python fabs() function

In today's post, we'll talk about the built-in fabs() function in Python. We'll also discuss the differences between the fabs() and abs() functions. For our practice question, we'll write a...

Fibonacci Sequence in Python

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...

4 ways to clear a list in Python

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...