Dunder Data Python Challenge Solutions 1-5

python challenge Nov 17, 2021

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.

Challenge #1 (1pt)

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
...
Continue Reading...
Close

Register for a free account

Upon registration, you'll get access to the following free courses:

  • Python Installation
  • Intro to Jupyter Notebooks
  • Intro to Pandas
  • Python  and Pandas Challenges