Count File Lines
Easy📝 Description
Count the number of lines in a text file
Input Format
Path to text file
Output Format
Number of lines
Constraints
File size ≤ 1MB
🔍 Sample Input
sample.txt (with 3 lines)
✅ Sample Output
3
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run