Nov-10-2019, 04:10 PM
Howdy,
I have a feeling that my issue lies within my second function. The Max function works for returning the single highest digit however the min function returns a blank value
I have a feeling that my issue lies within my second function. The Max function works for returning the single highest digit however the min function returns a blank value
lst = [] def sort_max(): max(lst) return (sorted(max(list(lst)))[-1]) def sort_min(): min(lst) return (sorted(min(list(lst)))[+1]) while True: usrInput = (input("List ")) if usrInput == "": print("Min", sort_min(), "Max", sort_max()) break lst.append(usrInput)