描述
How would you print just the 10th line of a file?
For example, assume that file.txt has the following content:
1 | Line 1 |
Your script should output the tenth line, which is:
1 | Line 10 |
解决方案
1 | # Read from the file file.txt and output the tenth line to stdout. |