Pick a Column

Medium · Sed & Awk · awk

Problem

stock.txt has whitespace-separated columns: an item, a count and a price.

Print the item and count of every line whose count is greater than 5, as .

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…