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

 

konstans@stuy.edu > MinOddValue
prev  |  next  |  chance

MinOddValue takes a list of numbers, and returns the smallest value that is odd. Assume at least one odd value is present.


MinOddValue([1, 2, 3, 4]) → 1
MinOddValue([2, 3, 4, 1, 5]) → 1
MinOddValue([2, 4, 3, 7]) → 3

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

def MinOddValue(nums):

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