Write a method COUNTLINES() in Python to read lines from text file

Write a method COUNTLINES() in Python to read lines from text file

More to explore

Based on this image's title: “Write a method COUNTLINES() in Python to read lines from text file