pyassistant

Remove 'code' Strings

Given a list of strings, return a new list where all the strings containing the substring 'code' have been removed.

Example:

Input:
['coding', 'code', 'program', 'codec']
Output:
['coding', 'program']

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.