[Solved] Python list not picking up min and max values correctly


You need to insert ints in the list instead of strings, just modify:

item = input("Enter a number to add to the list: ")
noNumbers.append(item)

By:

item = int(input("Enter a number to add to the list: "))
noNumbers.append(item)

7

solved Python list not picking up min and max values correctly