[Leetcode]195.tenth-line
2020-02-22
阅读 2 分钟
1.3k题目 Tenth Line Given a text file file.txt, print just the 10th line of the file. Example: Assume that file.txt has the following content: {代码...} Your script should output the tenth line, which is: {代码...} 注意点 需要注意一下它提供的note,其实test也涵盖了note提到的两点: Note: If the file co...