Avatar ·

How to check is it contained in the line some word from the list?

📁 список, строка, python, пример

For example, there is a list

  Words = [, " bicycle "" , ]     

and for example a line

   str  =  "" Fast car ""      

you need to retu true , because The line has "auto"