names = ('Alice', 'Bob', 'Charlie', 'David', 'Karl')
filtered = []
# add code here...
for
print(filtered)
# expected output: ['Bob', 'Karl']
Python
Setting up Python environment...
Output
names = ('Alice', 'Bob', 'Charlie', 'David', 'Karl')
filtered = []
# add code here...
for
print(filtered)
# expected output: ['Bob', 'Karl']
Setting up Python environment...