0

I need to write a recursive Python function that takes a numeric list as its argument, finds and returns the minimum of its elements. I am not allowed to use min() function of Python. I'll be very grateful if someone can help me.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by pyTony
0

First solve base case of empty list and find minimum if you would know minimum of list except first one.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.