I am trying to completely empty the list one by one but there are always 2 integers left. Is it possible to do it without it leaving the 2 highest value integers ? If so how ?
list = [1,2,3,4,5]
print (list)
for x in list:
    while x in list:
        list.remove(min(list))
print(list)
 
     
     
     
    