Pergunta de entrevista da empresa Okta

Write a Python program to calculate the number of line that contain some word.