pyassistant

Remove Strings with 'python'

Given a list of strings, return a new list where all the strings containing the substring 'python' are removed.

Example:

Input:
['I love Python', 'Python is great', 'I prefer Java', 'Pythonic approach']
Output:
['I prefer Java']

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.