solutions

Count lines in file

Write a function, that receives a path to a text file as parameter, and returns the amount of lines that text file has.

count_lines('test-file.txt')  # 10

Test Cases

tests

[]