My Code:
arg=[3,4,6,8,3,5,2,1]
print(min(arg))#produces 1 the min
print(max(arg))#produces 8 the max
the directions to this task are unclear to me!
the tasks asks me to write my own implementations of the max and min built-ins
then they say:
Input: One positional argument as an iterable or two or more positional arguments. Optional keyword argument as a function.
Output: The largest item for the "max" function and the smallest for the "min" function.
the max and min functions already do this task by them selves ...what is it that I'm to do to make a implementation of their functions
Might be a dumb question but I'm stumped on this lol...Thanks
Created at: 2017/04/09 16:24; Updated at: 2017/04/09 16:48