LeetCode 195: Tenth Line
Problem Restatement We are given a text file named file.txt . We need to print only the tenth line of the file. If the file has fewer than ten lines, the script should print nothing. Example input: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Expected output: Line 10 Input and Output Item Meaning Input A file named...