0
The question is - Write a program to remove the duplicates in a list
Here's how I did it-
numbers = [1, 1, 1, 3, 3, 7, 7]
for i in numbers:
while numbers.count(i) > 1:
numbers.pop(numbers.index(i))
print(numbers)
Here's how the teacher in the youtube video did it-
numbers = [2, 2, 4,...