First and Last

Easy · Pipelines & Redirection · head · tail

Problem

Print the first two lines of log.txt, then its last line.

Approaches

Related problems

Start free on Cariara · Coding problems · System design studio

Starting Python
No results yet.

          
↑↓ move ↵ open esc close

Labs

Loading labs…

Run with your own input

Starting Python

Loading Python…