The solutions to the five Dunder Data Python Challenges will be presented below. Try these challenges for yourself at python.dunderdata.com before looking at the solutions. Video solutions for all of the challenges are available on YouTube.
Given a list of integers. Return the difference between the largest and smallest values.
def exercise_1(a_list):
"""
Parameters
----------
a_list : a list of integers
Returns
-------
an integer
"""
# YOUR CODE HERE
...
Upon registration, you'll get access to the following free courses: