• + 1 comment

    I just added a try and except for this

    try: mode = st.mode(mylist) except: mode = min(mylist)