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...
Category: Python Practice Questions
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...
In today's post, we'll discuss two different ways to remove an item from a Python dictionary, using the key of the item. For the practice question, we'll work on a function that accepts a...
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...
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...
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...