0

Guys how can i assert that all elements in my list have at least 1 word that i need for example:

mylist = ['Burton  white', 'Burton High', 'Burton Durable']

and i want to verify all elements in my list have word Burton

falsetru
  • 336,967
  • 57
  • 673
  • 597
Ihor Harmatii
  • 179
  • 2
  • 20

0 Answers0