Buang vs lepaskan ular sanca

list = [1, 2, 3, 4, 5]
list.remove(0)	#removes element in specified position
print(list)
>> [2, 3, 4, 5]
list.discard(2)	#discards element if found in iterable (in list in this case) ;)
print(list)
>> [3, 4, 5]
Armandres