Survival of the biggest
Write a program that receives a list of integer numbers and a number n. The number n represents the amount of
numbers to remove from the list. You should remove the smallest ones
list = input().split(' ')
num = int(input())
for i in range(num):
min = min(list)
list.remove(min)
print(list)
функцията минимум не работи през цикъл, иначе няма пробем. Някой ако има повече инфо да помогне. Мерси.
Благодарско!
Taking cautious notes is key for two reasons. In the first place, keeping a basic record of the information you collect from your evaluation will spare you time: there will be no persuading inspiration to later return to your advantages and look for after bibliographic data, and you will get yourself less inclined to the feared, "Where did I read that?" Second, and explicitly, you will maintain a strategic distance from copyright infringement Article Of The Week.