list1 = [20, 50, 57, 100, 45, 67] list1.sort() print(list1[0],"= Smallest") print(list1[-1],"= largest") #Output 20 = Smallest 100 = largest Aman Kharwal I'm a writer and data scientist on a mission to educate others about the incredible power of data📈. Articles: 1431 Previous Post Odd and Even numbers in a List Next Post Fibonacci Series with python