#original list
programming_languages = ["JavaScript", "Python", "Java", "Python", "C++", "Python"]
#sublist created with list comprehension
programming_languages_updated = [value for value in programming_languages if value != "Python"]
#print original list
print(programming_languages)
#print new sublist that doesn't contain 'Python'
print(programming_languages_updated)
#output
#['JavaScript', 'Python', 'Java', 'Python', 'C++', 'Python']
#['JavaScript', 'Java', 'C++']
keywords = [1, 2, 3, "a", "b"]
#TO REMOVE THE LETTER "b"
keywords.remove("b")
#PRINT THE UPDATED LIST
print(keywords)