str = "Apples are good for you" list = ['apple', 'banana', 'pear']this string contains a value from the list, 'apple'. How would I write an if statement to check if any values of a list are in a string without it being case sensitive?
How to check if value of a list is in a string?
Users browsing this thread: 1 Guest(s)