“min() arg is an empty sequence”

As the error suggests, you passing in an empty sequence to you min call. What that means is if for example you have an elem_list and are calling min(elem_list), the list is currently empty [] and is erroring. Whatever your calling min on is currently empty.

Leave a Comment