3 ms·
Well on that note, if you just want the boolean, I think it'd be enough to say: free_food = 'free' in soup.get_text().lower()
by tedmiston 10y ago
Well on that note, if you just want the boolean, I think it'd be enough to say:
free_food = 'free' in soup.get_text().lower()