Pergunta de entrevista da empresa GSK

(Final round interview) Write a Python function that computes the check sum of a file. Then, modify the function such that we compute the check sum of a file every k bytes. I was allowed to refer to documentation for this exercise