mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-18 19:46:47 +08:00
update
This commit is contained in:
28
leetcode-cn/problem (English)/第十行(English) [tenth-line].html
Normal file
28
leetcode-cn/problem (English)/第十行(English) [tenth-line].html
Normal file
@@ -0,0 +1,28 @@
|
||||
<p>Given a text file <code>file.txt</code>, print just the 10th line of the file.</p>
|
||||
|
||||
|
||||
|
||||
<p><strong>Example:</strong></p>
|
||||
|
||||
|
||||
|
||||
<p>Assume that <code>file.txt</code> has the following content:</p>
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
|
||||
Line 1
|
||||
|
||||
Line 2
|
||||
|
||||
Line 3
|
||||
|
||||
Line 4
|
||||
|
||||
Line 5
|
||||
|
||||
Line 6
|
||||
|
||||
Line 7
|
||||
|
Reference in New Issue
Block a user