import re text = input ( ) word = { 'секрет' } for i in word : if re . search ( i , text ) : print ( "Есть совпадение" )