colors = ['red', 'blue', 'green', 'yellow', 'blue']

print(colors)
colors.remove('yellow')
print(colors)

# .remove() method doesn't return any data 
colors.remove('blue')
print(colors)
colors.remove('blue')
print(colors)

new_colors = ['red', 'green', 'brown', 'orange']
removed_color = new_colors.pop()
print('Removing the color: ' + removed_color)

bad_color = new_colors.pop(1)
print('A bad color is: ' + bad_color)

print(colors)
del colors[0]
print(colors)

fruits = []
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
print(fruits)
d03801b62b918752021ec0806f8b96d80fc3c125
<mask token>

<mask token>
print(colors)
colors.remove('yellow')
print(colors)
colors.remove('blue')
print(colors)
colors.remove('blue')
print(colors)
<mask token>
print('Removing the color: ' + removed_color)
<mask token>
print('A bad color is: ' + bad_color)
print(colors)
del colors[0]
print(colors)
<mask token>
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
print(fruits)

colors = ['red', 'blue', 'green', 'yellow', 'blue']
print(colors)
colors.remove('yellow')
print(colors)
colors.remove('blue')
print(colors)
colors.remove('blue')
print(colors)
new_colors = ['red', 'green', 'brown', 'orange']
removed_color = new_colors.pop()
print('Removing the color: ' + removed_color)
bad_color = new_colors.pop(1)
print('A bad color is: ' + bad_color)
print(colors)
del colors[0]
print(colors)
fruits = []
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
print(fruits)

colors = ['red', 'blue', 'green', 'yellow', 'blue']

print(colors)
colors.remove('yellow')
print(colors)

# .remove() method doesn't return any data 
colors.remove('blue')
print(colors)
colors.remove('blue')
print(colors)

new_colors = ['red', 'green', 'brown', 'orange']
removed_color = new_colors.pop()
print('Removing the color: ' + removed_color)

bad_color = new_colors.pop(1)
print('A bad color is: ' + bad_color)

print(colors)
del colors[0]
print(colors)

fruits = []
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
fruits.append(input('Enter a fruit: '))
print(fruits)