id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

david.white@denison.edu cs111fall2019 > minList
prev  |  next  |  chance

Write a recursive function minList(data) that returns the minimum of the items in the list of numbers named data. You may use the built-in min function for finding the minimum of two numbers (only).


minList([1, 3, 1, 5, 2, 3, 1]) → 1
minList([2, 6, -3, -2, 7, 3, 2]) → -3
minList([2, 52, 7, 845, 2, 0, 4]) → 0

...Save, Compile, Run (ctrl-enter)

def minList(data):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy