<reponame>lucsap/APC
def palavras_repetidas(fileName, word):
    file = open(fileName, 'r')
    count = 0
    for i in file.readlines():
        if word in i:
            count += 1
    
    print(f'{word} aparece no arquivo {fileName} {count} vez(es).')
def palavras_repetidas(fileName, word):
    file = open(fileName, 'r')
    count = 0
    for i in file.readlines():
        if word in i:
            count += 1
    
    print(f'{word} aparece no arquivo {fileName} {count} vez(es).')